Skip to main content

compute_envelope_radius

Function compute_envelope_radius 

Source
pub fn compute_envelope_radius(healthy_residuals: &[f64]) -> f64
Expand description

Compute envelope radius from healthy-window statistics. ρ = 3σ of healthy residual distribution

§Arguments

  • healthy_residuals - residual values from healthy window (immutable)

§Returns

3σ envelope radius, or 1.0 if insufficient data