tof_dataclasses::analysis

Function get_max_bin

Source
pub fn get_max_bin(
    voltages: &Vec<f32>,
    lower_bound: usize,
    window: usize,
) -> Result<usize, WaveformError>
Expand description

Return the bin with the maximum ADC value