Structs§
- Assignment
Result - Candidate
Opts - Options for the simple candidate enumeration. Rule = RT overlap (seconds) AND group eligibility (mz ∩ isolation AND scans ∩ program).
- Fragment
Group Index - Fragment
Index - Fragment
Metadata - Pre-computed per-MS2 metadata for fast filtering and lookup.
- Fragment
Metadata Entry - A single entry from FragmentMetadata.
- Fragment
Query Opts - Axis-aligned query knobs for fragment candidates.
- Fragment
Storage - Storage for MS2 clusters with ID-based lookup.
- Pair
Features - Compact feature bundle per pair for traceability.
- Pseudo
Build Result - Full result of the DIA → pseudo-DDA pipeline.
- Score
Opts - Scoring knobs. Defaults are conservative and width-aware but won’t punish
pairs that lack good fits (we use
shape_neutralwhen shape data is missing). - Thin
Precursor
Enums§
Functions§
- best_
ms1_ for_ each_ ms2_ any - Switch between geometric and XIC assignment.
- best_
ms1_ for_ each_ ms2_ geom - Geometric scoring (width / Jaccard / apex / overlap etc.).
- best_
ms1_ for_ each_ ms2_ xic - XIC-based assignment: score via RT/IM traces + intensity ratio, choose best MS1 per MS2, return Vec<Option<ms1_idx>> indexed by ms2_idx.
- build_
pseudo_ spectra_ all_ pairs - NON-COMPETITIVE builder: mainly for debugging / exploration.
- build_
pseudo_ spectra_ end_ to_ end - End-to-end, geometric competitive builder: DIA index + MS1 clusters + MS2 clusters (+ optional features) → candidates → geometric scoring/assignment → pseudo-MS/MS spectra.
- build_
pseudo_ spectra_ end_ to_ end_ xic - End-to-end, XIC-based competitive builder: DIA index + MS1 clusters + MS2 clusters (+ optional features) → candidates → XIC scoring/assignment → pseudo-MS/MS spectra.
- fragment_
from_ cluster - Convert an MS2 ClusterResult1D into a PseudoFragment. Return None if the cluster is unusable (no m/z).