Identification

class pyopenms.Identification

Bases: object

Cython implementation of _Identification

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

– Inherits from [‘MetaInfoInterface’]

__init__()
  • Cython signature: void Identification() Represents a object which can store the information of an analysisXML instance

  • Cython signature: void Identification(Identification &)

Methods

__init__

  • Cython signature: void Identification()

addSpectrumIdentification

Cython signature: void addSpectrumIdentification(SpectrumIdentification & id) Adds a spectrum identification

clearMetaInfo

Cython signature: void clearMetaInfo() Removes all meta values

getCreationDate

Cython signature: DateTime getCreationDate() Returns the date and time the file was created

getKeys

Cython signature: void getKeys(libcpp_vector[String] & keys) Fills the given vector with a list of all keys for which a value is set

getMetaValue

Cython signature: DataValue getMetaValue(String) Returns the value corresponding to a string, or

getSpectrumIdentifications

Cython signature: libcpp_vector[SpectrumIdentification] getSpectrumIdentifications() Returns the spectrum identifications stored

isMetaEmpty

Cython signature: bool isMetaEmpty() Returns if the MetaInfo is empty

metaRegistry

Cython signature: MetaInfoRegistry metaRegistry() Returns a reference to the MetaInfoRegistry

metaValueExists

Cython signature: bool metaValueExists(String) Returns whether an entry with the given name exists

removeMetaValue

Cython signature: void removeMetaValue(String) Removes the DataValue corresponding to name if it exists

setCreationDate

Cython signature: void setCreationDate(DateTime date) Sets the date and time the file was written

setMetaValue

Cython signature: void setMetaValue(String, DataValue) Sets the DataValue corresponding to a name

setSpectrumIdentifications

Cython signature: void setSpectrumIdentifications(libcpp_vector[SpectrumIdentification] & ids) Sets the spectrum identifications

addSpectrumIdentification()

Cython signature: void addSpectrumIdentification(SpectrumIdentification & id) Adds a spectrum identification

clearMetaInfo()

Cython signature: void clearMetaInfo() Removes all meta values

getCreationDate()

Cython signature: DateTime getCreationDate() Returns the date and time the file was created

getKeys()

Cython signature: void getKeys(libcpp_vector[String] & keys) Fills the given vector with a list of all keys for which a value is set

getMetaValue()

Cython signature: DataValue getMetaValue(String) Returns the value corresponding to a string, or

getSpectrumIdentifications()

Cython signature: libcpp_vector[SpectrumIdentification] getSpectrumIdentifications() Returns the spectrum identifications stored

isMetaEmpty()

Cython signature: bool isMetaEmpty() Returns if the MetaInfo is empty

metaRegistry()

Cython signature: MetaInfoRegistry metaRegistry() Returns a reference to the MetaInfoRegistry

metaValueExists()

Cython signature: bool metaValueExists(String) Returns whether an entry with the given name exists

removeMetaValue()

Cython signature: void removeMetaValue(String) Removes the DataValue corresponding to name if it exists

setCreationDate()

Cython signature: void setCreationDate(DateTime date) Sets the date and time the file was written

setMetaValue()

Cython signature: void setMetaValue(String, DataValue) Sets the DataValue corresponding to a name

setSpectrumIdentifications()

Cython signature: void setSpectrumIdentifications(libcpp_vector[SpectrumIdentification] & ids) Sets the spectrum identifications