httk.atomistic.species_class¶
Backend wrapping a Species in the class representation.
Classes¶
Backend for a species backed by an actual |
Module Contents¶
- class httk.atomistic.species_class.SpeciesClass(obj: httk.atomistic.species.Species, **hints: Any)[source]¶
Bases:
httk.atomistic.species_backend.SpeciesBackendBackend for a species backed by an actual
Speciesobject.Its accessors delegate to the wrapped Species, and
unwrapreturns that Species.- 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.