powered by
The power spectral density estimate of the time series is calculated using different approaches.
signal_spectrum(data, dt, method = "periodogram", ...)
Data frame with spectrum and frequency vector
Data frame
eseis object, numeric vector or list of objects, data set to be processed.
eseis
numeric
Numeric value, sampling period. If omitted, dt is set to 1/200. Only needed if data is no eseis object.
Numeric
dt
data
Character value, calculation method. One out of "periodogram" , "autoregressive" and "multitaper", default is "periodogram".
Character
"periodogram"
"autoregressive"
"multitaper"
Additional arguments passed to the function. See spec.pgram, spec.ar, spec.mtm.
spec.pgram
spec.ar
spec.mtm
Michael Dietze
## load example data set data(rockfall) ## calculate spectrum with standard setup s <- signal_spectrum(data = rockfall_eseis) ## plot spectrum plot_spectrum(data = s)
Run the code above in your browser using DataLab