An adjoint state method for three-dimensional transmission traveltime tomography using first-arrivals | Synapse