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:
- template
ExchangeTemplate Template.
- template
- Returns:
- new_model
ExchangeHamiltonian Exchange Hamiltonian with forced symmetry.
- new_model
See also
force_symmetryModifies current object.