pyspinw.loading#

Loading files in general

Functions

load(filename[, cif_supercell, ...])

Loading of data from a file, infers from extension

pyspinw.loading.load(filename: str | Path, cif_supercell: Supercell | None = None, cif_entry_index: int | None = None, verbose: bool = False)#

Loading of data from a file, infers from extension

Extension:

.spw: loads as pySpinW internal format .cif: loads as Crystallographic Interchange Format

For TB2J, providing a directory containing tb2j.pickle and exchange.out