magnopy.SpinHamiltonian.remove_1#

method

SpinHamiltonian.remove_1(alpha: int) None#

Removes a parameter of one spin & one site term of the Hamiltonian (partition 1).

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).

See also

p1
add
remove
parameters