radtools.ExchangeHamiltonian.force_symmetry#
method
- ExchangeHamiltonian.force_symmetry(template)[source]#
Force the Hamiltonian to have the symmetries of the template.
Takes mean values of the parameters. For DMI interaction directions are kept the same, but the length of the DMI vector is scaled.
This method modifies an instance on which it was called.
- Parameters:
- template
ExchangeTemplate Template.
- template
See also
forced_symmetryReturns new object.