httk.atomistic.structure_simple¶
Backend wrapping a Structure in the Simple representation.
Classes¶
Backend for a crystal structure backed by an actual |
Module Contents¶
- class httk.atomistic.structure_simple.StructureSimple(obj: httk.atomistic.structure.Structure, **hints: Any)[source]¶
Bases:
httk.atomistic.structure_backend.StructureBackendBackend for a crystal structure backed by an actual
Structureobject.Its quartet accessors delegate to the wrapped Structure, and
unwrapreturns that Structure.- property cell: httk.atomistic.cell.Cell[source]¶
- property sites: httk.atomistic.sites.Sites[source]¶
- property species: tuple[httk.atomistic.species.Species, Ellipsis][source]¶
- unwrap() Any[source]¶
Return the most raw representation possible of this backend, i.e., if it uses a backend with an internal representaion - or if it can (possibly lossly) convert itself into a more raw representation that still would be recognized as a <Something>Like type, that representation will be returned. If this is not possible, the instance itself is returned.