MassAnalyzer#

class pyopenms.MassAnalyzer#

Bases: object

Cython implementation of _MassAnalyzer

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

– Inherits from [‘MetaInfoInterface’]

__init__()#
  • Cython signature: void MassAnalyzer()

  • Cython signature: void MassAnalyzer(MassAnalyzer &)

Methods

__init__

  • Cython signature: void MassAnalyzer()

clearMetaInfo

Cython signature: void clearMetaInfo() Removes all meta values

getAccuracy

Cython signature: double getAccuracy() Returns the mass accuracy i.e. how much the theoretical mass may differ from the measured mass (in ppm).

getFinalMSExponent

Cython signature: int getFinalMSExponent() Returns the final MS exponent

getIsolationWidth

Cython signature: double getIsolationWidth() Returns the isolation width i.e. in which m/z range the precursor ion is selected for MS to the n (in m/z).

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

getMagneticFieldStrength

Cython signature: double getMagneticFieldStrength() Returns the strength of the magnetic field (in T)

getMetaValue

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

getOrder

Cython signature: int getOrder() Returns the position of this part in the whole Instrument

getReflectronState

Cython signature: ReflectronState getReflectronState() Returns the reflectron state (for TOF)

getResolution

Cython signature: double getResolution() Returns the resolution.

getResolutionMethod

Cython signature: ResolutionMethod getResolutionMethod() Returns the method used for determination of the resolution

getResolutionType

Cython signature: ResolutionType getResolutionType() Returns the resolution type

getScanDirection

Cython signature: ScanDirection getScanDirection() Returns the direction of scanning

getScanLaw

Cython signature: ScanLaw getScanLaw() Returns the scan law

getScanRate

Cython signature: double getScanRate() Returns the scan rate (in s)

getScanTime

Cython signature: double getScanTime() Returns the scan time for a single scan (in s)

getTOFTotalPathLength

Cython signature: double getTOFTotalPathLength() Returns the path length for a TOF mass analyzer (in meter)

getType

Cython signature: AnalyzerType getType() Returns the analyzer type

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

setAccuracy

Cython signature: void setAccuracy(double accuracy) Sets the accuracy i.e. how much the theoretical mass may differ from the measured mass (in ppm).

setFinalMSExponent

Cython signature: void setFinalMSExponent(int final_MS_exponent) Sets the final MS exponent

setIsolationWidth

Cython signature: void setIsolationWidth(double isolation_width) Sets the isolation width i.e. in which m/z range the precursor ion is selected for MS to the n (in m/z).

setMagneticFieldStrength

Cython signature: void setMagneticFieldStrength(double magnetic_field_strength) Sets the strength of the magnetic field (in T)

setMetaValue

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

setOrder

Cython signature: void setOrder(int order) Sets the order

setReflectronState

Cython signature: void setReflectronState(ReflectronState reflecton_state) Sets the reflectron state (for TOF)

setResolution

Cython signature: void setResolution(double resolution) Sets the resolution

setResolutionMethod

Cython signature: void setResolutionMethod(ResolutionMethod resolution_method) Sets the method used for determination of the resolution

setResolutionType

Cython signature: void setResolutionType(ResolutionType resolution_type) Sets the resolution type

setScanDirection

Cython signature: void setScanDirection(ScanDirection scan_direction) Sets the direction of scanning

setScanLaw

Cython signature: void setScanLaw(ScanLaw scan_law) Sets the scan law

setScanRate

Cython signature: void setScanRate(double scan_rate) Sets the scan rate (in s)

setScanTime

Cython signature: void setScanTime(double scan_time) Sets the scan time for a single scan (in s)

setTOFTotalPathLength

Cython signature: void setTOFTotalPathLength(double TOF_total_path_length) Sets the path length for a TOF mass analyzer (in meter)

setType

Cython signature: void setType(AnalyzerType type) Sets the analyzer type

AnalyzerType#

alias of pyopenms.pyopenms_6.__AnalyzerType

ReflectronState#

alias of pyopenms.pyopenms_6.__ReflectronState

ResolutionMethod#

alias of pyopenms.pyopenms_6.__ResolutionMethod

ResolutionType#

alias of pyopenms.pyopenms_6.__ResolutionType

ScanDirection#

alias of pyopenms.pyopenms_6.__ScanDirection

ScanLaw#

alias of pyopenms.pyopenms_6.__ScanLaw

clearMetaInfo()#

Cython signature: void clearMetaInfo() Removes all meta values

getAccuracy()#

Cython signature: double getAccuracy() Returns the mass accuracy i.e. how much the theoretical mass may differ from the measured mass (in ppm)

getFinalMSExponent()#

Cython signature: int getFinalMSExponent() Returns the final MS exponent

getIsolationWidth()#

Cython signature: double getIsolationWidth() Returns the isolation width i.e. in which m/z range the precursor ion is selected for MS to the n (in m/z)

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

getMagneticFieldStrength()#

Cython signature: double getMagneticFieldStrength() Returns the strength of the magnetic field (in T)

getMetaValue()#

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

getOrder()#

Cython signature: int getOrder() Returns the position of this part in the whole Instrument

getReflectronState()#

Cython signature: ReflectronState getReflectronState() Returns the reflectron state (for TOF)

getResolution()#

Cython signature: double getResolution() Returns the resolution. The maximum m/z value at which two peaks can be resolved, according to one of the standard measures

getResolutionMethod()#

Cython signature: ResolutionMethod getResolutionMethod() Returns the method used for determination of the resolution

getResolutionType()#

Cython signature: ResolutionType getResolutionType() Returns the resolution type

getScanDirection()#

Cython signature: ScanDirection getScanDirection() Returns the direction of scanning

getScanLaw()#

Cython signature: ScanLaw getScanLaw() Returns the scan law

getScanRate()#

Cython signature: double getScanRate() Returns the scan rate (in s)

getScanTime()#

Cython signature: double getScanTime() Returns the scan time for a single scan (in s)

getTOFTotalPathLength()#

Cython signature: double getTOFTotalPathLength() Returns the path length for a TOF mass analyzer (in meter)

getType()#

Cython signature: AnalyzerType getType() Returns the analyzer type

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

setAccuracy()#

Cython signature: void setAccuracy(double accuracy) Sets the accuracy i.e. how much the theoretical mass may differ from the measured mass (in ppm)

setFinalMSExponent()#

Cython signature: void setFinalMSExponent(int final_MS_exponent) Sets the final MS exponent

setIsolationWidth()#

Cython signature: void setIsolationWidth(double isolation_width) Sets the isolation width i.e. in which m/z range the precursor ion is selected for MS to the n (in m/z)

setMagneticFieldStrength()#

Cython signature: void setMagneticFieldStrength(double magnetic_field_strength) Sets the strength of the magnetic field (in T)

setMetaValue()#

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

setOrder()#

Cython signature: void setOrder(int order) Sets the order

setReflectronState()#

Cython signature: void setReflectronState(ReflectronState reflecton_state) Sets the reflectron state (for TOF)

setResolution()#

Cython signature: void setResolution(double resolution) Sets the resolution

setResolutionMethod()#

Cython signature: void setResolutionMethod(ResolutionMethod resolution_method) Sets the method used for determination of the resolution

setResolutionType()#

Cython signature: void setResolutionType(ResolutionType resolution_type) Sets the resolution type

setScanDirection()#

Cython signature: void setScanDirection(ScanDirection scan_direction) Sets the direction of scanning

setScanLaw()#

Cython signature: void setScanLaw(ScanLaw scan_law) Sets the scan law

setScanRate()#

Cython signature: void setScanRate(double scan_rate) Sets the scan rate (in s)

setScanTime()#

Cython signature: void setScanTime(double scan_time) Sets the scan time for a single scan (in s)

setTOFTotalPathLength()#

Cython signature: void setTOFTotalPathLength(double TOF_total_path_length) Sets the path length for a TOF mass analyzer (in meter)

setType()#

Cython signature: void setType(AnalyzerType type) Sets the analyzer type