View source: R/signal_stalta.R
signal_stalta | R Documentation |
This function calculates the short-time-average to long time average (STA-LTA) ratio of a seismic signal and returns that ratio time series.
signal_stalta(data, sta, lta, lazy = FALSE)
data |
|
sta |
|
lta |
|
lazy |
|
Numeric
vector or list of vectors, STA-LTA ratio signal.
Michael Dietze
## load example data
data(rockfall)
## calculate STA-LTA ratio
rockfall_stalta <- signal_stalta(data = rockfall_eseis,
sta = 0.5 * 200,
lta = 10 * 200,
lazy = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.