pub struct XicScoreOpts {
pub w_rt: f32,
pub w_im: f32,
pub w_intensity: f32,
pub intensity_tau: f32,
pub min_total_score: f32,
pub use_rt: bool,
pub use_im: bool,
pub use_intensity: bool,
}Fields§
§w_rt: f32Weight for RT-XIC correlation term.
w_im: f32Weight for IM-XIC correlation term.
w_intensity: f32Weight for intensity-ratio consistency term.
intensity_tau: f32Pseudo-temperature for the log-intensity ratio penalty. Larger = more tolerant to MS1/MS2 intensity mismatch.
min_total_score: f32Minimum final score in [0,1] to accept a pair.
use_rt: boolWhether to use RT/IM/intensity terms at all.
use_im: bool§use_intensity: boolTrait Implementations§
Source§impl Clone for XicScoreOpts
impl Clone for XicScoreOpts
Source§fn clone(&self) -> XicScoreOpts
fn clone(&self) -> XicScoreOpts
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for XicScoreOpts
impl Debug for XicScoreOpts
Auto Trait Implementations§
impl Freeze for XicScoreOpts
impl RefUnwindSafe for XicScoreOpts
impl Send for XicScoreOpts
impl Sync for XicScoreOpts
impl Unpin for XicScoreOpts
impl UnwindSafe for XicScoreOpts
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.