View source: R/signal_whiten.R
signal_whiten | R Documentation |
The function normalises the input signal within a given frequency window. If a time series is provided, it is converted to the spectral domain, whitening is performed, and it is transformed back to the time domain.
signal_whiten(data, f, dt)
data |
|
f |
|
dt |
|
Numeric
vector or eseis object, whitened signal vector.
Michael Dietze
## load example data set
data("rockfall")
## whiten data set between 10 and 30 Hz
rockfall_2 <- signal_whiten(data = rockfall_eseis,
f = c(10, 30))
## plot whitened data set
plot(rockfall_2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.