Skip to contents

The spectral entropy of a signal measures the energy dispersion along frequencies. Low values indicates a concentration of energy around a narrow frequency band. If the DC value is not removed before processing the large peak at f=0Hz will lower the entropy of the signal.

Usage

maad_frequency_entropy(object, compatibility = "QUT", maad = NULL)

Arguments

object

A Wave object or a spectrogram_maad object generated by maad_spectrogram. If a Wave-like object is provided, the spectrogram will be calculated using the default parameters.

compatibility

One of "QUT" (Towsey et al. 2018) or "seewave" (Sueur et al. 2008) . Default is "QUT".

maad

An optional maad object. If not provided, one will be created using getMaad().

Value

List comprising:

Hf

Frequency entropy.

Ht_per_bin

Temporal entropy per frequency bin.

References

Sueur J, Aubin T, Simonis C (2008). “Seewave, a free modular tool for sound analysis and synthesis.” Bioacoustics, 18(2), 213–226.

Towsey M, Truskinger A, Cottman-Fields M, Roe P (2018). “Ecoacoustics Audio Analysis Software.” https://github.com/QutEcoacoustics/audio-analysis.