timsrust 0.4.2

A crate to read Bruker timsTOF data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Allows conversions between domains (e.g. Time of Flight and m/z)
mod frame_to_rt;
mod scan_to_im;
mod tof_to_mz;

pub use frame_to_rt::Frame2RtConverter;
pub use scan_to_im::Scan2ImConverter;
pub use tof_to_mz::Tof2MzConverter;

/// Convert from one domain (e.g. Time of Flight) to another (m/z).
pub trait ConvertableDomain {
    fn convert<T: Into<f64> + Copy>(&self, value: T) -> f64;
    fn invert<T: Into<f64> + Copy>(&self, value: T) -> f64;
}