fracspy.mtinversion.greensfunction.mt_pwave_greens_comp#
- fracspy.mtinversion.greensfunction.mt_pwave_greens_comp(n_xyz, cosine_sourceangles, dists, vel, MT_comp_dict, comp_idx, omega_p)[source]#
Particle velocity component of the P-wave Green’s functions within a volumetric source grid for all moment tensor components
Compute Green’s functions for a given-component (x, y, or z) of the P-wave between sources defined in a regular 3-dimensional grid and a set of receivers
- Parameters:
- n_xyz
tuple
Number of grid points in X-, Y-, and Z-axes for the source area
- cosine_sourceangles
numpy.ndarray
Cosine source angles of size \(3 \times n_r \times n_x \times n_y \times n_z\)
- dists
numpy.ndarray
Distances of size \(\times n_r \times n_x \times n_y \times n_z\)
- vel
numpy.ndarray
Velocity model
- MT_comp_dict
dict
Dictionary containing Moment Tensor parameters
- comp_idx
int
Index of component at receiver side
- omega_p
float
Peak frequency of the given wave
- n_xyz
- Returns:
- Gc
numpy.ndarray
Green’s functions of size \(6 \times n_r \times n_x \times n_y \times n_z\) for a given component
- Gc
Notes
This method computes the amplitudes of a given component of the particle velocity Green’s functions associated to the first P-wave arrival, for a uniform grid of source location based on the far-field particle velocity expression from a moment tensor source in a homogeneous full space for all of the 6 different moment tensor components.