pymatgen.io.ase module
This module provides conversion between the Atomic Simulation Environment
Atoms object and pymatgen Structure objects.
-
class
AseAtomsAdaptor[source]
Bases: object
Adaptor serves as a bridge between ASE Atoms and pymatgen structure.
-
static
get_atoms(structure, **kwargs)[source]
Returns ASE Atoms object from pymatgen structure.
- Parameters
-
- Returns
ASE Atoms object
-
static
get_structure(atoms, cls=None)[source]
Returns pymatgen structure from ASE Atoms.
- Parameters
-
- Returns
Equivalent pymatgen.core.structure.Structure