tof_dataclasses::calibrations

Function find_zero_crossings

Source
pub fn find_zero_crossings(trace: &Vec<f32>) -> Vec<usize>
Expand description

Designed to match np.where(np.diff(np.signbit(trace)))[0] FIXME -> This needs to be moved to analysis!