Post

ISpecDataPoint

The common contract for a single data point in a mass spectrum.


Remarks

The common contract for a single data point in a mass spectrum, minimally an m/z and intensity pair. TSpectrum<T> is written against this interface so one spectrum implementation serves both SpecDataPoint and SpecDataPointEx.


Properties

IdentifierTypeDescription
MzdoubleThe mass to charge ratio (m/z) value for a mass spectrum data point.
IntensitydoubleThe intensity value for a mass spectrum data point.

Methods

MethodReturnsDescription
Read(BinaryReader reader)voidPopulates the data point from its binary representation, as written by Write.
Write(BinaryWriter writer)voidSerializes the data point to its binary representation, as read back by Read.
This post is licensed under CC BY 4.0 by the author.

Trending Tags