KroenikFile

class pyopenms.KroenikFile

Bases: object

Cython implementation of _KroenikFile

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1KroenikFile.html

The first line is the header and contains the column names: File, First Scan, Last Scan, Num of Scans, Charge, Monoisotopic Mass, Base Isotope Peak, Best Intensity, Summed Intensity, First RTime, Last RTime, Best RTime, Best Correlation, Modifications —– Every subsequent line is a feature —– All properties in the file are converted to Feature properties, whereas “First Scan”, “Last Scan”, “Num of Scans” and “Modifications” are stored as metavalues with the following names “FirstScan”, “LastScan”, “NumOfScans” and “AveragineModifications” —– The width in m/z of the overall convex hull of each feature is set to 3 Th in lack of a value provided by the Kroenik file

__init__()

Cython signature: void KroenikFile()

Methods

__init__

Cython signature: void KroenikFile()

load

Cython signature: void load(String filename, FeatureMap & feature_map)

store

Cython signature: void store(String filename, MSSpectrum & spectrum) Stores a MSExperiment into a Kroenik file

load()

Cython signature: void load(String filename, FeatureMap & feature_map)

Raises

Exception: FileNotFound is thrown if the file could not be opened

Raises

Exception: ParseError is thrown if an error occurs during parsing

store()

Cython signature: void store(String filename, MSSpectrum & spectrum) Stores a MSExperiment into a Kroenik file