tof_dataclasses::analysis

Function time2bin

Source
pub fn time2bin(
    nanoseconds: &Vec<f32>,
    t_ns: f32,
) -> Result<usize, WaveformError>
Expand description

Given a time in ns, find the bin most closely corresponding to that time

ยงArguments