Post

SpecDataPoint

The basic unit of information in a spectrum (i.e., m/z and intensity).


Remarks

Some remarks beyond the short description.


Constructors

SyntaxDescription
SpecDataPoint(double mz=0, double intensity = 0)Initializes the Mz and Intensity properties to the values provided.

Properties

IdentifierTypeDescription
MzdoubleGets/sets the m/z value of a spectral data point.
IntensitydoubleGets/sets the intensity value of a spectral data point.

Methods

MethodReturnsDescription
Read (BinaryReader)voidReads the Mz and Intensity value from a BinaryReader.
Write (BinaryWriter)voidWrites the Mz and Intensity value to a BinaryWriter.
CompareTo (SpecDataPoint)intPerforms the CompareTo function on the Mz of two SpecDataPoints to identify the lower value.

Example

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

Trending Tags