pub fn band_energy_snr(
trace: &[f32],
fps: f32,
f_lo_hz: f32,
f_hi_hz: f32,
scratch: &mut [f32],
) -> Result<f32, EvmRefuse>Expand description
Estimate SNR as band residual RMS / total demeaned RMS (after IIR band-pass).
scratch ≥ trace.len().