Structs§
- PASEF
Fragment Data - Metadata required for processing a single PASEF fragment
- Preprocessed
Spectrum - Represents a fully preprocessed spectrum ready for database search
- Spectrum
Processing Config - Configuration for spectrum preprocessing
Functions§
- deisotope_
spectrum - Deisotope a spectrum by removing peaks that are likely isotopes of more intense peaks.
- filter_
top_ n - Filter spectrum to keep only the top N most intense peaks.
- flatten_
frame_ to_ spectrum - Flatten a TimsFrame-like structure (multiple scans) into a single spectrum. Groups peaks by TOF index, sums intensities, and averages m/z values.
- get_
inverse_ mobility_ along_ scan_ marginal - Calculate the inverse mobility at the scan with highest total intensity. This implements the “marginal” mobility calculation.
- normalize_
intensity - Normalize intensity values to sum to a constant (e.g., 1.0 or 10000.0)
- process_
pasef_ fragments_ batch - Process a batch of PASEF fragments in parallel.
- process_
spectrum - Process a single spectrum: flatten, optionally deisotope, filter top N peaks.