obspy.signal.trigger.modified_energy_ratio

modified_energy_ratio(a, nsta, power=3)[source]

Modified energy ratio detector.

Improvement of the energy_ratio() that accounts for the signal itself:

\[\text{mer}(i) = (\text{er}(i) * |a(i)|)^3\]

where \(text{er}(i)\) is the energy_ratio().

Parameters:
  • a (NumPy ndarray) – Seismic Trace

  • nsta (int) – Length of energy ratio window in samples. It’s the same length as nsta in the classical STA/LTA methods.

  • power (int) – The power exponent in the equation above. Default: 3

Return type:

NumPy ndarray

Returns:

Modified Energy Ratio