nanotools.hamiltonian module
Hamiltonian module
- class nanotools.hamiltonian.Hamiltonian(extpot=NOTHING, ispin=1, soc=False)[source]
Bases:
Base
Hamiltonian
class.- ispin
Hamiltonian spin-treatment level:
1 : degenerate
2 : collinear
4 : non-collinear
- Type:
int
- soc
Include spin-orbit coupling if True.
- Type:
bool