tbplas.SpinData
- class tbplas.SpinData(prefix: str)
Data class of spin texture.
NOTE: DO NOT use dataclass.
- kpt_cart
Cartesian coordinates of k-points in 1/NM
- Type:
(num_kpt, 3) float64 array
- bands
Energies on k-points in eV
- Type:
(num_kpt, num_states) float64 array
- sigma_x, sigma_y, sigma_z
x, y, z components of expectation value of Pauli operators
- Type:
(num_kpt, num_states) float64 array
- __init__(prefix: str) None
- Parameters:
prefix – prefix of data files
- Returns:
None
Methods
__init__
(prefix)load
(prefix)Load spin data from file.
- __init__(prefix: str) None
- Parameters:
prefix – prefix of data files
- Returns:
None
- load(prefix: str) None
Load spin data from file. :param prefix: prefix of data files :return: None
- __weakref__
list of weak references to the object