Post

ISpectrumFileReader

Interface for MS data file readers.


Remarks

none

Implements

IEnumerable


Properties

IdentifierTypeDescription
FirstScanNumberintNumber of the first scan event in the file.
LastScanNumberintNumber of the last scan event in the file.
MaxRetentionTimedoubleRetention time (in minutes) of the last scan event in the file.
ScanCountintTotal number of scan events in the file.

Methods

MethodReturnsDescription
Close()voidCloses an open MS data file.
GetSpectrum(int scanNumber = -1, bool centroid = true)SpectrumReads a spectrum from the currently open MS data file.
GetSpectrumEx(int scanNumber = -1, bool centroid = true)SpectrumExReads a spectrum and any extended data from the currently open MS data file.
Open(string fileName)boolOpen an MS data file and return true upon success.
Reset()voidResets the file reader to the beginning of the file when iteratively reading.

Example

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

Trending Tags