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:
- data
numpy.ndarray
input seismic data with corrected event moveout [nr, nt]
- polcor_type
str
, optional, default: “mti” Polarity correction type to be used for data amplitudes.
- g
numpy.ndarray
, optional, default: None Array of shape (6, nrec) containing the vectorized Green tensor derivative. Required for “mti” polcor_type.
- gtg_inv
numpy.ndarray
, optional, default: None 6x6 matrix constructed as an inverse from the matrix derived from vectorized Green tensor derivative. Required for “mti” polcor_type.
- data
- Returns:
- data_corrected
numpy.ndarray
microseismic data with corrected polarity [nr, nt]
- data_corrected
- Raises:
- ValueError
if polcor_type value is unknown
Notes
Polarity correction is done using the moment tensor inversion.