httk.atomistic.cell_class¶
Backend wrapping a Cell in the class representation.
Classes¶
Backend for a cell backed by an actual |
Module Contents¶
- class httk.atomistic.cell_class.CellClass(obj: httk.atomistic.cell.Cell, **hints: Any)[source]¶
Bases:
httk.atomistic.cell_backend.CellBackendBackend for a cell backed by an actual
Cellobject.Its exact accessors delegate to the wrapped Cell (preserving its
scale/unscaled_basissplit), andunwrapreturns that Cell.- property basis: httk.core.SurdVector[source]¶
- property scale: httk.core.SurdScalar[source]¶
- property unscaled_basis: httk.core.SurdVector[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.