obspy.realtime.signal.tauc

tauc(trace, width, rtmemory_list=None)[source]

Calculate instantaneous period in a fixed window (Tau_c).

See also

Implements equations 1-3 in [Allen2003] except use a fixed width window instead of decay function.

Parameters:
  • trace (Trace) – Trace object to append to this RtTrace

  • width (int) – Width in number of sample points for tauc window.

  • rtmemory_list (list of RtMemory, optional) – Persistent memory used by this process for specified trace.

Return type:

NumPy numpy.ndarray

Returns:

Processed trace data from appended Trace object.