# fieldscan_enlev.m

Jump to: navigation, search

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

Version 2.2, authors: Ilya Kuprov, Elizaveta Suturina