fracspy.location.utils.polarity_correction#

fracspy.location.utils.polarity_correction(data, polcor_type='mti', g=None, gtg_inv=None)[source]#

Polarity correction for microseismic data with corrected event moveout.

This function applies a polarity correction to microseismic data with corrected event moveout.

Parameters:
datanumpy.ndarray

input seismic data with corrected event moveout [nr, nt]

polcor_typestr, optional, default: “mti”

Polarity correction type to be used for data amplitudes.

gnumpy.ndarray, optional, default: None

Array of shape (6, nrec) containing the vectorized Green tensor derivative. Required for “mti” polcor_type.

gtg_invnumpy.ndarray, optional, default: None

6x6 matrix constructed as an inverse from the matrix derived from vectorized Green tensor derivative. Required for “mti” polcor_type.

Returns:
data_correctednumpy.ndarray

microseismic data with corrected polarity [nr, nt]

Raises:
ValueError

if polcor_type value is unknown

Notes

Polarity correction is done using the moment tensor inversion.