obspy.signal.trigger.recursive_sta_lta

recursive_sta_lta(a, nsta, nlta)[source]

Recursive STA/LTA.

Fast version written in C.

Note:

This version directly uses a C version via CTypes

Parameters:
  • a (numpy.ndarray, dtype=float64) – Seismic Trace, numpy.ndarray dtype float64

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

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

Return type:

numpy.ndarray, dtype=float64

Returns:

Characteristic function of recursive STA/LTA

See also

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