qrunch.chemistry.molecule.atom
Module with definition of atom from the periodic table.
Classes
Represents an Atom. |
- class Atom
Bases:
objectRepresents an Atom.
- __init__(symbol_or_number: str | int, /, *, label: str | None = None) None
Initialize the
Atomclass.- Parameters:
symbol_or_number (str | int) – The atomic symbol or the atom number of the atom.
label (str | None) – Optional label to give the atom.
- Return type:
None
- property label: str
Get the label of the atom.
- property number: int
Get the atomic number of the atom.
- property symbol: str
Get the chemical symbol of the atom.