View source: R/signal_envelope.R
signal_envelope | R Documentation |
The function calculates envelopes of the input signals as cosine-tapered envelope of the Hilbert-transformed signal. The signal should be detrended and/or the mean should be removed before processing.
signal_envelope(data, p = 0)
data |
|
p |
|
Numeric
vector or list of vectors, signal envelope.
Michael Dietze
## load example data set
data(rockfall)
## detrend data set
rockfall_detrend <- signal_detrend(data = rockfall_eseis)
## calculate envelope
rockfall_envelope <- signal_envelope(data = rockfall_detrend)
## plot envelope
plot_signal(data = rockfall_envelope)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.