Element#

class pyopenms.Element#

Bases: object

Cython implementation of _Element

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

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

  • Cython signature: void Element(Element &)

  • Cython signature: void Element(String name, String symbol, unsigned int atomic_number, double average_weight, double mono_weight, IsotopeDistribution isotopes)

Methods

__init__

  • Cython signature: void Element()

getAtomicNumber

Cython signature: unsigned int getAtomicNumber() Returns the unique atomic number

getAverageWeight

Cython signature: double getAverageWeight() Returns the average weight of the element

getIsotopeDistribution

Cython signature: IsotopeDistribution getIsotopeDistribution() Returns the isotope distribution of the element

getMonoWeight

Cython signature: double getMonoWeight() Returns the mono isotopic weight of the element

getName

Cython signature: String getName() Returns the name of the element

getSymbol

Cython signature: String getSymbol() Returns symbol of the element

setAtomicNumber

Cython signature: void setAtomicNumber(unsigned int atomic_number) Sets unique atomic number

setAverageWeight

Cython signature: void setAverageWeight(double weight) Sets the average weight of the element

setIsotopeDistribution

Cython signature: void setIsotopeDistribution(IsotopeDistribution isotopes) Sets the isotope distribution of the element

setMonoWeight

Cython signature: void setMonoWeight(double weight) Sets the mono isotopic weight of the element

setName

Cython signature: void setName(String name) Sets the name of the element

setSymbol

Cython signature: void setSymbol(String symbol) Sets symbol of the element

getAtomicNumber()#

Cython signature: unsigned int getAtomicNumber() Returns the unique atomic number

getAverageWeight()#

Cython signature: double getAverageWeight() Returns the average weight of the element

getIsotopeDistribution()#

Cython signature: IsotopeDistribution getIsotopeDistribution() Returns the isotope distribution of the element

getMonoWeight()#

Cython signature: double getMonoWeight() Returns the mono isotopic weight of the element

getName()#

Cython signature: String getName() Returns the name of the element

getSymbol()#

Cython signature: String getSymbol() Returns symbol of the element

setAtomicNumber()#

Cython signature: void setAtomicNumber(unsigned int atomic_number) Sets unique atomic number

setAverageWeight()#

Cython signature: void setAverageWeight(double weight) Sets the average weight of the element

setIsotopeDistribution()#

Cython signature: void setIsotopeDistribution(IsotopeDistribution isotopes) Sets the isotope distribution of the element

setMonoWeight()#

Cython signature: void setMonoWeight(double weight) Sets the mono isotopic weight of the element

setName()#

Cython signature: void setName(String name) Sets the name of the element

setSymbol()#

Cython signature: void setSymbol(String symbol) Sets symbol of the element