pyspinw.cif#
CIF File Loading
Functions
|
Load a CIF file in as a structure |
|
Load a mCIF file in as a structure |
Parse a float entry, they can have brackets for values that go beyond the specified precision |
Exceptions
Error thrown when loading fails |
- exception pyspinw.cif.LoadError#
Bases:
ExceptionError thrown when loading fails
- pyspinw.cif.load_cif(filename: str | Path, supercell: Supercell = <pyspinw.symmetry.supercell.TiledSupercell object>, entry_index: int = 0, verbose=False) Structure#
Load a CIF file in as a structure
- pyspinw.cif.load_mcif(filename: str | Path, entry_index: int = 0, verbose: bool = False) Structure#
Load a mCIF file in as a structure
- pyspinw.cif.parse_float_entry(s: str)#
Parse a float entry, they can have brackets for values that go beyond the specified precision