pub fn py_interpolate_time<'_py>( voltages: Bound<'_py, PyArray1<f32>>, nanoseconds: Bound<'_py, PyArray1<f32>>, threshold: f32, idx: usize, size: usize, ) -> PyResult<f32>