Molecule module.

class daltonproject.molecule.Molecule(atoms: Optional[str] = None, input_file: Optional[str] = None, charge: int = 0, symmetry: bool = False)

Molecule class.

analyze_symmetry() None

Analyze the molecular symmetry. Note that this translates the molecule’s center of mass to the origin.

atoms(atoms: str) None

Specify atoms.


atoms – Atoms specified with elements and coordinates (and optionally labels).

property coordinates: ndarray

Atomic coordinates.

mol(filename: str) None

Read dalton mol file.


filename – Name of mol file containing charge, atoms, and coordinates.

property num_atoms: int

Return the number of atoms in the molecule.

xyz(filename: str) None

Read xyz file.


filename – Name of xyz file containing atoms and coordinates.