Also I have a serious problems with orientations! I need to simulate the spectrum for <110> direction of magnetic field. But changing code line with Exp.Orientations, my spectrum doesn't feel it. It is equivalent to the first one (see the figure for pepper-function). I don't know where is the main mistake.
Code: Select all
clear
S=1/2;
g=2.0;
Sys.Nucs = '19F';
Sys.n = [8];
Sys.A = 20;
Sys.lwpp = 0.06;
Exp.mwFreq = 9.5;
Exp.nPoints = 2^13;
garlic(Sys,Exp);
Code: Select all
clear all;
Sys.S = 1/2;
Sys.g = 2;
A = [20];
Sys = nucspinadd(Sys,'19F',A);
Sys = nucspinadd(Sys,'19F',A);
Sys = nucspinadd(Sys,'19F',A);
Sys = nucspinadd(Sys,'19F',A);
Sys = nucspinadd(Sys,'19F',A);
Sys = nucspinadd(Sys,'19F',A);
Sys = nucspinadd(Sys,'19F',A);
Sys = nucspinadd(Sys,'19F',A);
Sys.lwpp = 0.6;
Exp.mwFreq = 9.5;
Exp.Range = [330 350];
Exp.Orientations = [0;0;0];
Exp.nPoints = 2^13;
Opt.Method = 'perturb1';
pepper (Sys,Exp,Opt);