pytomoatt.src_rec.SrcRec.calc_distaz

SrcRec.calc_distaz()[source]

Calculate distance and azimuth for each source–receiver pair.

dist_deg and dist_km are the epicentral distance in degrees and kilometres, respectively. dist_3d_km is the three-dimensional Euclidean distance calculated from dist_km and the vertical separation. Source depth is in km and receiver elevation is converted from m to km.