Post

SpecDataPointEx

An extended unit of information in a spectrum (i.e., m/z, intensity, and more).


Remarks

Provides a means for storing extended spectral data point values. There are limited sources of these additional data. Notably, such extended information can be obtained when reading mass spectra from the Thermo Fisher Scientific native vendor format (raw). The extended information is only available if the spectra was acquired in a suitable analyzer (e.g., Orbitrap) and has been processed to centroid format. Use of SpecDataPointEx is not relevant for profile data or spectra where the extended information is not stored. In those cases, the extended properties will contain zero values.


Constructors

SyntaxDescription
SpecDataPointEx(double mz = 0, double intensity = 0, double noise=0, double baseline=0, int charge=0, double resolution=0)Initializes the properties to the values, if provided.

Properties

IdentifierTypeDescription
MzdoubleGets/sets the m/z value of a spectral data point.
IntensitydoubleGets/sets the intensity value of a spectral data point.
NoisedoubleGets/sets the noise value of a spectral data point.
BaselinedoubleGets/sets the baseline value of a spectral data point.
ChargeintGets/sets the charge value of a spectral data point.
ResolutiondoubleGets/sets the resolution value of a spectral data point.

Methods

MethodReturnsDescription
Read (BinaryReader)voidReads the six property values from a BinaryReader.
Write (BinaryWriter)voidWrites the six property values to a BinaryWriter.
CompareTo (SpecDataPoint)intPerforms the CompareTo function on the Mz of two SpecDataPointsEx to identify the lower value.

Example

This post is licensed under CC BY 4.0 by the author.

Trending Tags