setunit(obj,Name,Value) sets the physical units of the Hamiltonian.
This includes the magnetic field, exchange interaction, length and
- spinw object.
Name-Value Pair Arguments
- Type of unit system, defined by one of the following strings:
'AmeVTK'Typical units used in neutron/x-ray scattering: [Å, meV, Tesla and Kelvin]
'1'No units, all conversion factors are set to 1.