pub(crate) fn py_drift_metric( waveforms: PyReadonlyArray2<'_, f64>, timestamps: PyReadonlyArray1<'_, f64>, n_bins: usize, ) -> f64