obspy.core.event.source.farfield
- farfield(mt, points, type)[source]
Returns the P/S farfield radiation pattern based on [Aki1980] eq. 4.29.
- Parameters:
mt – Focal mechanism NM x 6 (Mxx, Myy, Mzz, Mxy, Mxz, Myz - the six independent components of the moment tensor)
points – 3D vector array with shape [3,npts] (x,y,z) or [2,npts] (theta,phi) The normalized displacement of the moment tensor source is computed at these points.
type (str) – ‘P’ or ‘S’ (P or S wave).
- Returns:
3D vector array with shape [3,npts] that contains the displacement vector for each grid point