Struct mzdata::spectrum::spectrum::Spectrum [−][src]
pub struct Spectrum { pub description: SpectrumDescription, pub arrays: Option<BinaryArrayMap>, pub peaks: Option<PeakSet>, }
Expand description
Represent a spectrum with multiple layers of representation of the peak data.
Not directly used at this time
Fields
description: SpectrumDescription
The spectrum metadata describing acquisition conditions and details.
arrays: Option<BinaryArrayMap>
The (potentially absent) data arrays describing the m/z, intensity, and potentially other measured properties
peaks: Option<PeakSet>
Implementations
Convert a spectrum into a CentroidSpectrum
Convert a spectrum into a RawSpectrum
Trait Implementations
The method to access the spectrum description itself, which supplies the data for most other methods on this trait. Read more
Retrieve the most processed representation of the mass spectrum’s signal Read more
Access the acquisition information for this spectrum.
A shortcut method to retrieve the scan start time of a spectrum. Read more
Auto Trait Implementations
impl RefUnwindSafe for Spectrum
impl UnwindSafe for Spectrum
Blanket Implementations
Mutably borrows from an owned value. Read more