Function calculate_spectral_entropy
Source pub fn calculate_spectral_entropy<F>(_powerspectrum: &Array1<F>) -> Result<F>
Expand description
Calculate spectral entropy
Spectral entropy measures the spectral complexity of a signal by treating
the power spectrum as a probability distribution.
§Arguments
power_spectrum - Power spectrum of the signal
§Returns
Spectral entropy value