NAME
show_stalta - Plot STA, LTA and SNR of trace
SYNOPSIS
show_stalta db sta chan tstart tend
filter sta_twin lta_twin SNR_thresh
SUPPORT
Contributed code: NO BRTT support.
THIS PIECE OF SOFTWARE WAS CONTRIBUTED BY THE ANTELOPE USER COMMUNITY. BRTT DISCLAIMS ALL OWNERSHIP, LIABILITY, AND SUPPORT FOR THIS PIECE OF SOFTWARE.
FOR HELP WITH THIS PIECE OF SOFTWARE, PLEASE CONTACT THE CONTRIBUTING AUTHOR.
DESCRIPTION
This program displays five traces on four separate plots. The first plot displays the raw waveform data for
sta:
chan in
db between
tstart and
tend. The second plot displays waveform data filtered by
filter. The third plot displays the short-term average (STA) and long-term average calculated using filtered data over respective time windows
sta_twin and
lta_twin. When the signal-to-noise-ration (SNR) exceeds
SNR_thresh, the lta will be held constant until the SNR drops below
SNR_thresh. The fourth plot displays the SNR, calculated using the
sta and lta values displayed in the third plot.
dbdetect(1)
BUGS AND CAVEATS
The SNR calculated here is NOT calculated as STA / LTA.
AUTHOR
Malcolm White
mcwhite@ucsd.edu
February, 2013
Antelope User Group Contributed Software