emmet.core.featurization.robocrys.util
Miscellaneous utility functions and common data.
- Attributes:
- common_formulas: A set of common formulas. The keys to the data are strings
from
pymatgen.core.composition.Composition.reduced_formula.- connected_geometries: A list of geometries that are considered
“connectable” polyhedra. E.g. Their face-sharing, edge-sharing, etc properties are of interest.
- geometry_to_polyhedra: A mapping from geometry type (e.g. octahedral) to the
plural polyhedra name (e.g. octahedra).
- dimensionality_to_shape: A mapping from dimensionality to the component
shape.
Functions
Recursively convert nested |
|
Utility method to get an element str from a symbol, Element, or Specie. |
|
Formats an element string. |
|
Formats a spacegroup using unicode symbols. |
|
Converts a string containing numbers to superscript. |
|
Formats a spacegroup using unicode symbols. |
Classes
bool(x) -> bool |
|
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2). |
|
Built-in mutable sequence. |
|
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2). |
|
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2). |
|
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2). |