Reconstruction and time reversal in thermoacoustic tomography in acoustically homogeneous and inhomogeneous media | Synapse