levelsplot
Synopsis

Display energy level diagram and resonances.

levelsplot(Sys,Ori,B)
levelsplot(Sys,Ori,B,mwFreq)
Description

Displays the energy level diagram for the spin system specified in Sys. Ori contains the two polar angles [phi,theta] describing the magnetic field direction in the molecular frame. B gives the field range [Bmin Bmax] in mT.

The three principal directions x, y, and z can be specified by shorthands: In Ori>, give 'x' instead of [0 pi/2], 'y' instead of [pi/2 pi/2], and z in place of [0 0].

If mwFreq, the spectrometer frequency in GHz is given, resonances for this frequency are plotted as well. Their colour indicates the transition amplitude: Red lines indicated allowed resonances, gray ones indicate forbidden ones. If the lines are terminated with dots, the relative transition intensity is above 1%.

Examples

To see resonances at X band for the system in the example for the function levels, use

mySystem = struct('S',5/2,'g',[2 2 2],'D',[-250 -1750 2000]);
Ori = [0 0]; FieldRange = [0 500]; Freq = 9.5;
levelsplot(mySystem,Ori,FieldRange,Freq);
Algorithm

Energy levels are computed using levels. Resonances are computed using resfields.

See also

levels, eigfields, resfields, sham