pub struct SourceArgs {Show 20 fields
pub tic: bool,
pub bpc: bool,
pub mz: Vec<f64>,
pub ppm: Option<f64>,
pub da: Option<f64>,
pub transitions: Vec<String>,
pub transition_tol: Option<f64>,
pub traces: Vec<u32>,
pub channel: Option<u32>,
pub sweep: Option<u32>,
pub run: u32,
pub ms_level: Option<u32>,
pub polarity: Option<String>,
pub scan_filter: Option<String>,
pub precursor: Option<f64>,
pub precursor_tol: Option<f64>,
pub rt_range: Option<[f64; 2]>,
pub mz_range: Option<[f64; 2]>,
pub profile: bool,
pub aggregate: Option<String>,
}Expand description
Which chromatograms, from which scans (shared by both tools).
Fields§
§tic: boolTotal-ion chromatogram (the default for mass-spectrometry files when nothing else is chosen).
bpc: boolBase-peak chromatogram.
mz: Vec<f64>Extracted-ion chromatograms at these m/z values (one streaming pass for all).
ppm: Option<f64>XIC tolerance (half-width) in ppm. Default 10.
da: Option<f64>XIC tolerance in m/z units instead of ppm.
transitions: Vec<String>SRM/MRM transitions as "Q1>Q3" strings, e.g. "279.2>179.2".
transition_tol: Option<f64>Q1/Q3 tolerance of transitions, m/z units. Default 0.5.
traces: Vec<u32>Stored chromatograms or detector signals (UV/DAD, FID, TCD, stored TIC/SRM): trace indices from openreadout_info → traces[].
channel: Option<u32>Channel of the traces (e.g. one DAD wavelength). Default: the first signal channel.
sweep: Option<u32>Sweep of the traces (one spectrum of a map or series, one injection). Default 0.
run: u32Spectra run. Default 0.
ms_level: Option<u32>MS level of the scans. Default 1 (2 with precursor).
polarity: Option<String>positive or negative: only scans of this polarity.
scan_filter: Option<String>Only scans whose scan filter/description contains this text (case-insensitive).
precursor: Option<f64>Only MS/MS scans of this precursor m/z (product-ion XIC).
precursor_tol: Option<f64>Precursor tolerance, m/z units. Default 0.5.
rt_range: Option<[f64; 2]>Retention-time range [start, end], minutes.
mz_range: Option<[f64; 2]>TIC/BPC over this m/z range only, [low, high].
profile: boolUse profile data where scans store both profile and centroids. Default false (the instrument’s centroids).
aggregate: Option<String>sum (default) or max of the points inside an XIC window.
Implementations§
Source§impl SourceArgs
impl SourceArgs
Sourcepub fn request(&self) -> Result<ChromRequest>
pub fn request(&self) -> Result<ChromRequest>
The extraction request.
Trait Implementations§
Source§impl Debug for SourceArgs
impl Debug for SourceArgs
Source§impl Default for SourceArgs
impl Default for SourceArgs
Source§impl<'de> Deserialize<'de> for SourceArgs
impl<'de> Deserialize<'de> for SourceArgs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for SourceArgs
impl JsonSchema for SourceArgs
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for SourceArgs
impl RefUnwindSafe for SourceArgs
impl Send for SourceArgs
impl Sync for SourceArgs
impl Unpin for SourceArgs
impl UnsafeUnpin for SourceArgs
impl UnwindSafe for SourceArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more