obspy.signal.trigger.carl_sta_trig

carl_sta_trig(a, nsta, nlta, ratio, quiet)[source]

Computes the carlSTAtrig characteristic function.

eta = star - (ratio * ltar) - abs(sta - lta) - quiet

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

  • ratio – as ratio gets smaller, carl_sta_trig gets more sensitive

  • quiet (float) – as quiet gets smaller, carl_sta_trig gets more sensitive

Return type:

NumPy ndarray

Returns:

Characteristic function of CarlStaTrig