pub fn integrate_abs(samples: &[f64]) -> f64
Trapezoidal integral of |Ψ| over an ordered sample series — the accumulated signal energy.