5.21.23. tools.orbital_center

eminus.tools.orbital_center(obj, psirs)[source]

Calculate the orbital center of masses, e.g., from localized orbitals.

Parameters:
  • obj – Atoms or SCF object.

  • psirs – Set of orbitals in real-space.

Returns:

Center of masses.