ISpectrumFileReader
Interface for MS data file readers.
Remarks
none
Implements
IEnumerable
Properties
Identifier | Type | Description |
---|---|---|
FirstScanNumber | int | Number of the first scan event in the file. |
LastScanNumber | int | Number of the last scan event in the file. |
MaxRetentionTime | double | Retention time (in minutes) of the last scan event in the file. |
ScanCount | int | Total number of scan events in the file. |
Methods
Method | Returns | Description |
---|---|---|
Close() | void | Closes an open MS data file. |
GetSpectrum(int scanNumber = -1, bool centroid = true) | Spectrum | Reads a spectrum from the currently open MS data file. |
GetSpectrumEx(int scanNumber = -1, bool centroid = true) | SpectrumEx | Reads a spectrum and any extended data from the currently open MS data file. |
Open(string fileName) | bool | Open an MS data file and return true upon success. |
Reset() | void | Resets 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.