pub enum QuadWindowExpansionStrategy<ImC> {
None,
Even(usize),
UniformMobility((f64, f64), Option<Arc<ImC>>),
UniformScan((usize, usize)),
}Expand description
Strategy for expanding quadrupole settings
This enum is used to determine how to expand quadrupole settings when reading in DIA data. And exporting spectra (not frames RN).
§Variants
For example if we have a window with scan start 50 and end 500
None- Do not expand quadrupole settings; use the original settingsEven(usize)- Split the quadrupole settings intousizeevenly spaced subwindows; e.g. ifusizeis 2, the window will be split into 2 subwindows of equal width.UniformMobility(SpanStep)- Split the quadrupole settings into subwindows of widthSpanStep.0and stepSpanStep.1in ion mobility space. e.g. ifSpanStepis (0.05, 0.02), the window will be split into subwindows of width 0.05 and step 0.02 between their in the mobility dimension.UniformScan(SpanStep)- Split the quadrupole settings into subwindows of widthSpanStep.0and stepSpanStep.1in scan number space. e.g. ifSpanStepis (100, 80), the window will be split into subwindows of width 100 and step 80 between their in the scan number.
Variants§
Trait Implementations§
Source§impl<ImC> Clone for QuadWindowExpansionStrategy<ImC>
impl<ImC> Clone for QuadWindowExpansionStrategy<ImC>
Source§impl<ImC: Debug> Debug for QuadWindowExpansionStrategy<ImC>
impl<ImC: Debug> Debug for QuadWindowExpansionStrategy<ImC>
Auto Trait Implementations§
impl<ImC> Freeze for QuadWindowExpansionStrategy<ImC>
impl<ImC> RefUnwindSafe for QuadWindowExpansionStrategy<ImC>where
ImC: RefUnwindSafe,
impl<ImC> Send for QuadWindowExpansionStrategy<ImC>
impl<ImC> Sync for QuadWindowExpansionStrategy<ImC>
impl<ImC> Unpin for QuadWindowExpansionStrategy<ImC>
impl<ImC> UnsafeUnpin for QuadWindowExpansionStrategy<ImC>
impl<ImC> UnwindSafe for QuadWindowExpansionStrategy<ImC>where
ImC: RefUnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
Converts
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>
Converts
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