triqs_modest.misc.n_sigma_from_spin_kind

triqs_modest.misc.n_sigma_from_spin_kind()

Dispatched C++ function(s).

[1] (sk: str {"Polarized", "NonPolarized", "NonColinear"})
  -> int

Number of σ channels for a given spin_kind_e.