I am simulating a spectrum with pepper and the following code and obtained the attached spectrum. However when I added Opt.output='separate' option in order to get decomposed spectra, I got this warning: WARNING: No resonance fields at 9.38823 GHz between 5 and 1500 mT. Check field range and spectrometer frequency.". Why am I getting this error while I've got some peaks without the option?
Exp.mwFreq = 9.388231;
Exp.Range = [5 1500];
Exp.Temperature = 300; % temperature in kelvin
%Exp.nPoints = 3000;
Nx2.S=3/2
Nx2.g = [1.96, 2.11, 2.40];
Nx2.Nucs = 'Co';
Nx2.A = [0 0 750]; %MHz
Nx2.lwpp = [3 3]
D=-21.294913
E=D*0.114877
waveN_MHz=29979.2458
Nx2.D = [D*waveN_MHz E*waveN_MHz]
[B,spc2] = pepper({Nx2}, Exp);
plot(B,spc2/max(spc2));
For the additional option, I've changed/added the code as follows.
Opt.Output='separate'
[B,spc2] = pepper({Nx2}, Exp, Opt);