spectral_descriptors

module of dascore.transform source

Spectral descriptor transforms for DASCore patches.

Outputs preserve input metadata and processing history, replace data type and units, and remove obsolete DFT/STFT attributes and frequency-dependent coordinates.

Functions

Name Description
median_frequency Compute the median frequency of a Fourier-domain patch.
spectral_centroid Compute the spectral centroid of a Fourier-domain patch.
spectral_entropy Compute spectral entropy from a Fourier-domain patch.
spectral_flatness Compute spectral flatness from a Fourier-domain patch.
spectral_kurtosis Compute spectral kurtosis from a Fourier-domain patch.
spectral_peak_amplitude Compute the peak spectral amplitude of a Fourier-domain patch.
spectral_peak_frequency Compute the peak frequency of a Fourier-domain patch.