Difference between revisions of "Fieldscan enlev.m"
(Created page with "{{DISPLAYTITLE:fieldscan_enlev.m}} One-sentence summary of what the function does. ==Syntax== fieldscan_enlev(spin_system,parameters) ==Description== Plots a user-spec...") |
(→Arguments) |
||
| Line 13: | Line 13: | ||
parameters.fields - two-element vector in Tesla, | parameters.fields - two-element vector in Tesla, | ||
ordered as [from to] | ordered as [from to] | ||
| − | + | ||
parameters.npoints - number of points in the scan | parameters.npoints - number of points in the scan | ||
| − | + | ||
parameters.orientation - system orientation, three- | parameters.orientation - system orientation, three- | ||
element vector containing | element vector containing | ||
Euler angles in radians, | Euler angles in radians, | ||
ordered as [alp bet gam] | ordered as [alp bet gam] | ||
| − | + | ||
parameters.nstates - number of lowest energy states | parameters.nstates - number of lowest energy states | ||
to solve for | to solve for | ||
Revision as of 15:58, 24 December 2017
One-sentence summary of what the function does.
Syntax
fieldscan_enlev(spin_system,parameters)
Description
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.
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
Version 2.1, authors: Ilya Kuprov, Liza Suturina