httk.atomistic.species¶
Species definition for httk-atomistic, mirroring the OPTIMADE species entry.
Classes¶
A chemical species occupying one or more sites, mirroring the OPTIMADE |
Module Contents¶
- class httk.atomistic.species.Species[source]¶
A chemical species occupying one or more sites, mirroring the OPTIMADE
speciesobject.A species has a
name(unique within a structure; it need not be a chemical symbol), a list ofchemical_symbolscomposing it, and a matching list ofconcentrationvalues. Each chemical symbol is an element symbol, or one of the pseudo-symbols"X"(unknown) or"vacancy". The optionalmass,attached,nattached, andoriginal_namefields carry the remaining OPTIMADE species information;attachedandnattachedmust be given together and share their length.- property is_single_element: bool[source]¶
Whether this species is a single, unattached, real chemical element.
True only for a species composed of exactly one element symbol (not
"X"or"vacancy") with no attached particles. Such species are the ones that can be represented as a bare atomic number in the primitive representation.