MsInspectFile#

class pyopenms.MsInspectFile#

Bases: object

Cython implementation of _MsInspectFile

Original C++ documentation is available here

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: MsInspectFile) None

Methods

__init__

Overload:

load(self, filename, feature_map)

Loads a MsInspect file into a featureXML

store(self, filename, spectrum)

Stores a featureXML as a MsInspect file

load(self, filename: bytes | str | String, feature_map: FeatureMap) None#

Loads a MsInspect file into a featureXML

The content of the file is stored in features :raises:

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

Raises:

Exception: ParseError is thrown if an error occurs during parsing

store(self, filename: bytes | str | String, spectrum: MSSpectrum) None#

Stores a featureXML as a MsInspect file