pick_stalta | R Documentation |
The function calculates the ratio of the short-term-average and long-term-average of the input signal.
pick_stalta(data, time, dt, sta, lta, freeze = FALSE, on, off)
data |
|
time |
|
dt |
|
sta |
|
lta |
|
freeze |
|
on |
|
off |
|
data frame
, detected events (ID, start time, duration in
seconds, STA-LTA vaue).
Michael Dietze
## load example data
data(rockfall)
## filter signal
rockfall_f <- signal_filter(data = rockfall_eseis,
f = c(1, 90),
p = 0.05)
## calculate signal envelope
rockfall_e <- signal_envelope(data = rockfall_f)
## pick earthquake and rockfall event
p <- pick_stalta(data = rockfall_e,
sta = 100,
lta = 18000,
freeze = TRUE,
on = 5,
off = 3)
p$picks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.