AtomicElement

This class represents an atomic element and provides access to its properties as attributes. Atomic properties are immutable and predefined during the initialization of goupil.

Constructor

class AtomicElement(arg: int | str)

To create an instance of the desired element, use either its atomic number (as an int) or its symbol (as a str). For instance,

>>> goupil.AtomicElement("H")
H

See also

The elements function offers an alternative method for instantiating multiple atomic elements at once.

Attributes

AtomicElement.A: float

The atomic element’s mass number. For instance, hydrogen has a mass number of 1.0087.

AtomicElement.name: str

The complete name of the atomic element. For instance "hydrogen".

AtomicElement.symbol: str

The canonical symbol for the atomic element, i.e. a one or two-letter abbreviation. For instance, hydrogen is represented by the symbol "H".

AtomicElement.Z: int

The element’s atomic number, represented by an int. For instance, hydrogen has an atomic number of 1.

Methods

AtomicElement.electrons() ElectronicStructure

Returns a representation of the element’s electronic structure.