pub struct Hill {Show 21 fields
pub hill_id: u64,
pub mz: f64,
pub mz_std: f64,
pub mz_se: f64,
pub rt: f64,
pub rt_start: f64,
pub rt_end: f64,
pub rt_width: f64,
pub im: f64,
pub im_std: f64,
pub scan_start: usize,
pub scan_apex: usize,
pub scan_end: usize,
pub n_scans: usize,
pub skipped_scans: usize,
pub intensity_sum: f64,
pub intensity_max: f64,
pub hill_score: f64,
pub intensity_profile: Arc<[f32]>,
pub isolation_window: Option<IsolationWindow>,
pub faims_cv: Option<f32>,
}Expand description
A finalized chromatographic hill (elution peak for a single m/z trace).
Column names match the Python zenith_feature_finder hills.tsv output exactly.
Fields§
§hill_id: u64Stable identifier assigned at the end of hill detection. Matches the
hill_id column in hills.{tsv,parquet} and the entries in the
hill_ids column of features.{tsv,parquet}. IDs are unique within a
single hills file (MS1 and MS2 each have their own ID space).
mz: f64§mz_std: f64§mz_se: f64Standard error of the intensity-weighted m/z estimate (Kish-effective sample size). Zero for hills with <2 real peaks. Written to the hills output as a per-hill m/z-confidence diagnostic.
rt: f64§rt_start: f64§rt_end: f64§rt_width: f64§im: f64§im_std: f64§scan_start: usize§scan_apex: usize§scan_end: usize§n_scans: usize§skipped_scans: usize§intensity_sum: f64§intensity_max: f64§hill_score: f64Monotonicity-fraction shape score (0–1). 1.0 = perfectly hill-shaped.
intensity_profile: Arc<[f32]>Per-scan intensity profile (length == n_scans, zeros where gaps)
isolation_window: Option<IsolationWindow>Isolation window the hill was built from (None for MS1 hills, Some for MS2/DIA hills).
faims_cv: Option<f32>FAIMS compensation voltage shared by every scan in this hill.
None for non-FAIMS data and for formats without FAIMS metadata.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hill
impl RefUnwindSafe for Hill
impl Send for Hill
impl Sync for Hill
impl Unpin for Hill
impl UnsafeUnpin for Hill
impl UnwindSafe for Hill
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
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> ⓘ
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