fn soft_change_point_count(
trajectory: &[(i64, &[f32])],
threshold: f32,
smoothing: usize,
) -> f32Expand description
Soft change point count: number of points where the local deviation
exceeds threshold standard deviations, smoothed by a running window.