httk.atomistic.ase_atoms_view¶
ASE Atoms view for the httk.atomistic structure family.
ASE is an optional dependency. This module intentionally imports it unconditionally,
so the package-level exports can guard the import while documentation tools can see
the public ASEAtomsView definition.
Classes¶
Present a |
Module Contents¶
- class httk.atomistic.ase_atoms_view.ASEAtomsView(obj: httk.atomistic.structure_like.StructureLike, **hints: Any)[source]¶
Bases:
httk.atomistic.structure_view.StructureView,ase.AtomsPresent a
StructureLikeas ASEAtoms.The conversion carries the structure quartet: cell, reduced positions, atomic numbers, and periodicity. ASE must be installed to construct this view. Mixed or attached species cannot be represented by ASE atomic numbers and raise
TypeError.