radtools.ExchangeHamiltonian.forced_symmetry#

method

ExchangeHamiltonian.forced_symmetry(template)[source]#

Force the Hamiltonian to have the symmetries of the template.

Takes mean values of the parameters. Respect the direction of the DMI vectors.

This method return a new instance.

Parameters:
templateExchangeTemplate

Template.

Returns:
new_modelExchangeHamiltonian

Exchange Hamiltonian with forced symmetry.

See also

force_symmetry

Modifies current object.