from_dict#
- static AtomComponent.from_dict(
- data: json,
- frac: bool = False,
- lattice: Lattice | None = None,
Construct an AtomComponent from a Python dict
The Prim reference documents the expected format:
data = { "coordinate": [r1, r2, r3], "name": "<atom_name>", "properties": { "<property_name>": { "value": [v1, ...], }, ... } }