`bands_power` calculates power spectral densities estimates using Welch's method on bands. Bands are computed from spectrogram bands equal or greater than lower limit and inferior to the upper limit.
bands_power(bands, signal, sRate, broadband = c(0.5, 40))
A list of bands powers.
A list of bands to compute with lower and upper limits in the form `list(c(0,4),c(4,8))``
Numerical vector of the signal.
Signal sample rate in Hertz.
The broadband to normalize by.
bands_power(bands = list(c(0,4),c(4,8)),signal = sin(c(1:10000)),sRate = 200)
Run the code above in your browser using DataLab