pub type Spectrum = MultiLayerSpectrum<CentroidPeak, DeconvolutedPeak>;
Expand description
A ready-to-use parameterized type for representing a spectrum in multiple overlapping layers.
Aliased Type§
struct Spectrum {
pub description: SpectrumDescription,
pub arrays: Option<BinaryArrayMap>,
pub peaks: Option<PeakSetVec<CentroidPeak, MZ>>,
pub deconvoluted_peaks: Option<PeakSetVec<DeconvolutedPeak, Mass>>,
}
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<PeakSetVec<CentroidPeak, MZ>>
§deconvoluted_peaks: Option<PeakSetVec<DeconvolutedPeak, Mass>>