5.7.8. dft.get_n_spin

eminus.dft.get_n_spin(atoms, Y, ik)[source]

Calculate the electronic density per spin channel.

Reference: Comput. Phys. Commun. 128, 1.

Parameters:
  • atoms – Atoms object.

  • Y – Expansion coefficients of orthogonal wave functions in reciprocal space.

  • ik – k-point index.

Returns:

Electronic densities per spin channel.