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_xyztuple

Number of grid points in X-, Y-, and Z-axes for the source area

cosine_sourceanglesnumpy.ndarray

Cosine source angles of size \(3 \times n_r \times n_x \times n_y \times n_z\)

distsnumpy.ndarray

Distances of size \(\times n_r \times n_x \times n_y \times n_z\)

velnumpy.ndarray

Velocity model

MT_comp_dictdict

Dictionary containing Moment Tensor parameters

comp_idxint

Index of component at receiver side

omega_pfloat

Peak frequency of the given wave

Returns:
Gcnumpy.ndarray

Green’s functions of size \(6 \times n_r \times n_x \times n_y \times n_z\) for a given component

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.