obspy.signal.trigger.recursive_sta_lta_py

recursive_sta_lta_py(a, nsta, nlta)[source]

Recursive STA/LTA written in Python.

Note

There exists a faster version of this trigger wrapped in C called recursive_sta_lta() in this module!

Parameters:
  • a (NumPy ndarray) – Seismic Trace

  • nsta (int) – Length of short time average window in samples

  • nlta (int) – Length of long time average window in samples

Return type:

NumPy ndarray

Returns:

Characteristic function of recursive STA/LTA

See also

[Withers1998] (p. 98) and [Trnkoczy2012]