pub(crate) fn py_response_onset( binary_train: PyReadonlyArray1<'_, i32>, baseline_steps: usize, dt: f64, threshold_sigma: f64, ) -> f64