Skip to main content

frame_descriptors

Function frame_descriptors 

Source
pub fn frame_descriptors(
    magnitudes: &[f64],
    bin_hz: Hz,
) -> Option<FrameDescriptors>
Expand description

Computes the descriptors of one magnitude frame, already divided by the window sum, with bins bin_hz apart. Returns None for an all-zero frame, or for one with a negative, NaN or infinite magnitude.