magnopy.LSWT.E_2#
method
- LSWT.E_2(units='meV') float[source]#
Computes the correction to the ground state energy that arises from the LSWT.
- Parameters:
- unitsstr, default "meV"
Added in version 0.3.0.
Units of energy. See Energy for the full list of supported units.
- Returns:
- E_2float
Examples
>>> import magnopy >>> spinham = magnopy.examples.cubic_ferro_nn() >>> lswt = magnopy.LSWT(spinham=spinham, spin_directions=[[0, 0, 1]]) >>> # Default units are meV >>> lswt.E_2() -1.5