pub struct PrecursorInfo {
pub target_mz: Option<f64>,
pub selected_mz: Option<f64>,
pub isolation_width: Option<f64>,
pub charge: Option<i32>,
pub intensity: Option<f64>,
pub collision_energy: Option<f64>,
pub ce_is_nce: bool,
pub precursor_native_id: Option<String>,
pub activation: Option<Activation>,
pub analyzer: Option<Analyzer>,
pub ccs: Option<f64>,
}Expand description
Precursor metadata for an MS2+ spectrum.
Fields§
§target_mz: Option<f64>Isolation-window center m/z (target).
selected_mz: Option<f64>Monoisotopic-resolved precursor m/z (selected ion).
isolation_width: Option<f64>Total isolation width in m/z. The mzML writer splits this into
symmetric lower/upper offsets around target_mz.
charge: Option<i32>§intensity: Option<f64>Precursor intensity (when known).
collision_energy: Option<f64>Collision energy. Interpretation depends on ce_is_nce.
ce_is_nce: booltrue if collision_energy is normalized (NCE %); false for eV.
precursor_native_id: Option<String>Native ID of the precursor scan when known. Vendors should populate
this with the same string they will use as the native_id for that
MS1 spectrum, so mzML spectrumRef lookups round-trip cleanly.
activation: Option<Activation>§analyzer: Option<Analyzer>Analyzer that recorded the precursor scan; needed by mzML to disambiguate CID vs beam-type CID on FTMS instruments.
ccs: Option<f64>Collision cross-sectional area of the selected ion, in square angstroms. Derived from ion-mobility measurements (Bruker 1/K0, Waters drift time, etc); vendors that only expose raw mobility should convert before populating this rather than leaving it for downstream consumers to guess a calibration.
Trait Implementations§
Source§impl Clone for PrecursorInfo
impl Clone for PrecursorInfo
Source§fn clone(&self) -> PrecursorInfo
fn clone(&self) -> PrecursorInfo
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more