pub fn robust_noise_neighbor_diff(y: &[f32]) -> f32
Compute noise from neighbor differences. Uses the median of absolute neighbor differences, which is robust to peaks.