obspy.signal.trigger.plot_trigger
- plot_trigger(trace, cft, thr_on, thr_off, show=True)[source]
Plot characteristic function of trigger along with waveform data and trigger On/Off from given thresholds.
- Parameters
trace (
Trace
) – waveform datacft (
numpy.ndarray
) – characteristic function as returned by a trigger inobspy.signal.trigger
thr_on (float) – threshold for switching trigger on
thr_off (float) – threshold for switching trigger off
show (bool) – Do not call plt.show() at end of routine. That way, further modifications can be done to the figure before showing it.