Hi, forgive me as I am new to this. I am trying to play with powder simulations of spin polarized systems using Exp.Temperature that specifies zero-field populations. When I run code such as that shown at the bottom of this post from your example I get the following error:
Error using resfields
If given, Exp.Temperature must be a single number.
Error in pepper
Error in pepper
One thing that is strange to me: This code worked fine for a while. As well, others that I have asked can run it without issues.
Thanks! And thanks for providing these wonderful tools.
-Niels
%Sample Code
clear
T.S = 1;
T.D = [500 100]; % MHz
T.lwpp = 1;
Exp.mwFreq = 9.5;
Exp.Range = [310 370];
Exp.Harmonic = 0; % no field modulation
Exp.Temperature = [0.1 1 0.2]; % zero-field populations
pepper(T,Exp);