Difference between revisions of "Fieldscan enlev.m"
(Normalise sequential blank lines) |
|||
| Line 32: | Line 32: | ||
==See also== | ==See also== | ||
[[eqmag.m]], [[stevens.m]], [[stev2sph.m]], [[fieldscan_magn.m]], [[fieldsweep.m]] | [[eqmag.m]], [[stevens.m]], [[stev2sph.m]], [[fieldscan_magn.m]], [[fieldsweep.m]] | ||
| − | |||
''Version 2.2, authors: [[Ilya Kuprov]], [[Elizaveta Suturina]]'' | ''Version 2.2, authors: [[Ilya Kuprov]], [[Elizaveta Suturina]]'' | ||
Revision as of 12:25, 25 April 2026
Plots a user-specified number of the lowest energy levels of the system as a function of the applied magnetic field. The energies are obtained using the Arnoldi method.
Contents
Syntax
fieldscan_enlev(spin_system,parameters)
Arguments
parameters.fields - two-element vector in Tesla,
ordered as [from to]
parameters.npoints - number of points in the scan
parameters.orientation - system orientation, three-
element vector containing
Euler angles in radians,
ordered as [alp bet gam]
parameters.nstates - number of lowest energy states
to solve for
Outputs
This function plots a graph.
Examples
See quartet_levels.m, triple_dy_levels.m, and dy_lft_single_2.m files in examples/giant_spin directory.
Notes
The function runs in parallel over the values of the applied magnetic field. The sys.magnet parameter is used for internal normalisation and must be set to exactly 1 Tesla.
See also
eqmag.m, stevens.m, stev2sph.m, fieldscan_magn.m, fieldsweep.m
Version 2.2, authors: Ilya Kuprov, Elizaveta Suturina