Difference between revisions of "Fieldscan enlev.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Spot-edit Spinach function page first-line NOTOC and template fields)
Line 1: Line 1:
−
{{DISPLAYTITLE:fieldscan_enlev.m}}
+
{{DISPLAYTITLE:fieldscan_enlev.m}} __NOTOC__
 
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.
 
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.
  

Revision as of 18:27, 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)

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