rmgpy.molecule.Element¶
- class rmgpy.molecule.Element¶
A chemical element. The attributes are:
Attribute
Type
Description
number
intThe atomic number of the element
symbol
strThe symbol used for the element
name
strThe IUPAC name of the element
mass
floatThe mass of the element in kg/mol
cov_radius
floatCovalent bond radius in Angstrom
isotope
intThe isotope integer of the element
chemkin_name
strThe chemkin compatible representation of the element
This class is specifically for properties that all atoms of the same element share. Ideally there is only one instance of this class for each element.
- rmgpy.molecule.get_element(value, isotope=-1)¶
Return the
Elementobject corresponding to the given parameter value. If an integer is provided, the value is treated as the atomic number. If a string is provided, the value is treated as the symbol. AnElementErroris raised if no matching element is found.