Function fit_decay_rt60_s
pub fn fit_decay_rt60_s(
edc_db: &[f64],
sample_rate_hz: f64,
start_db: f64,
end_db: f64,
) -> Result<f64, NumericalError>Expand description
Fit linear least-squares decay slope on edc_db between start_db (e.g. -5.0) and
end_db (e.g. -35.0) and return the extrapolated $-60\text{ dB}$ decay time $T_{60}$ in seconds.