pub fn dc_offset(signal: &[f64]) -> f64
Mean (DC offset) of a signal. Use as the AC-coupling / settle guard: an AC-coupled output that has reached steady state has |mean| ≈ 0.