pythtb.TBModel.nspin#

property TBModel.nspin#

Number of spin components (1 for spinless, 2 for spinful).

Added in version 2.0.0.

Returns:
int

Number of spin components (1 for spinless, 2 for spinful).