Difference between revisions of "Fieldscan enlev.m"
m (Spot-edit Spinach function page first-line NOTOC and template fields) |
m (Rename Arguments section heading to Parameters) |
||
| Line 6: | Line 6: | ||
fieldscan_enlev(spin_system,parameters) | fieldscan_enlev(spin_system,parameters) | ||
| − | == | + | ==Parameters== |
parameters.fields - two-element vector in Tesla, | parameters.fields - two-element vector in Tesla, | ||
Revision as of 18:48, 5 June 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.
Syntax
fieldscan_enlev(spin_system,parameters)
Parameters
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