pub(crate) fn py_isi_violation_rate( binary_train: PyReadonlyArray1<'_, i32>, dt: f64, refractory_ms: f64, ) -> f64