5.23.18. tools.get_spin_squared¶ eminus.tools.get_spin_squared(scf)[source]¶ Calculate the expectation value of the squared spin operator <S^2>. Reference: Appl. Phys. Express 12, 115506. Parameters: scf – SCF object. Returns: The DFT value for <S^2>.