obspy.signal.trigger.classic_sta_lta

classic_sta_lta(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.

Fast version written in C.

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