`bands_psd` calculates power spectral densities estimates on bands. Bands are computed from spectrogram bands equal or greater than lower limit and inferior to the upper limit.
bands_psd(signal, sRate, bands, normalize = FALSE, method = "pwelch")
Numerical vector of the signal.
Signal sample rate in Hertz.
A list of bands to compute with lower and upper limits in the form `list(c(0,4),c(4,8))``
A band to normalize (divide) by. Defaults to `c(0.5,40)`. Can be set up to FALSE for raw results. Defaults to FALSE.
Character. Method to use to compute power spectral density. "pwelch" or "psm". Defaults to "pwelch".
A list of bands powers.