magnopy.SpinHamiltonian.remove_41#

method

SpinHamiltonian.remove_41(alpha: int) None#

Removes a parameter of four spins & one site term of the Hamiltonian (partition 4+0+0+0).

Deprecated since version 0.5.0: Use SpinHamiltonian.remove() instead.

See Spin Hamiltonian for the definition of the relevant term of the Hamiltonian.

Parameters:
alphaint

Index of an atom in the unit cell, with which the parameter is associated. 0 <= alpha < len(spinham.atoms.names).