obspy.signal.trigger.classic_sta_lta_py

classic_sta_lta_py(a, nsta, nlta)[source]

Computes the standard STA/LTA from a given input array a. The length of the STA is given by nsta in samples, respectively is the length of the LTA given by nlta in samples. Written in Python.

Note

There exists a faster version of this trigger wrapped in C called classic_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 classic STA/LTA