pub fn pick_peaks(
    mz_array: &[f64],
    intensity_array: &[f32]
) -> Result<Vec<FittedPeak>, PeakPickerError>