pub(crate) fn py_unitary_events( py: Python<'_>, trains: Vec<PyReadonlyArray1<'_, i32>>, bin_size: usize, alpha: f64, ) -> Py<PyArray1<i64>>