Skip to main content

periodogram_rate

Function periodogram_rate 

Source
pub fn periodogram_rate(
    times: &[Seconds],
    values: &[f64],
    lo: Hz,
    hi: Hz,
) -> Result<Estimate<Hz, Hz>, ConfidenceError>
Expand description

The modulation rate of irregular samples between lo and hi.

The periodogram amplitude goes through the same pick as the modulation spectrum. No estimate when no line stands out or the span holds fewer than two cycles. The spread is the resolution, 1 / T of the span.

ยงErrors

Never in practice; the reasons are built from counts.