Skip to main content

cmndf_period

Function cmndf_period 

Source
pub fn cmndf_period(track: &Track, lo: Hz, hi: Hz) -> Option<Seconds>
Expand description

The period of a track between 1 / hi and 1 / lo.

The cumulative mean normalised difference picks the first lag whose value dips below 0.1, else the global minimum. Needs two to three cycles; None when the track is shorter than two periods of lo.