1. using the textread function as described in http://easyspin.org/easyspin/documentat ... xport.html, the '%g %g' argument threw an error, as %g seems not to be supported by Matlab (http://fr.mathworks.com/help/matlab/ref/textread.html). Using %f did the trick, but it cut down some decimals, which change the form of the experimental curve at some regions.
I used:
Code: Select all
[T,chi] = textread('data.dat','%f %f');
2. If I understand correctly, ES calculates muz and chizz by default, and then averages over all orientations to yield the mu and chi values. Is that correct, or is it the other way around? How should I instruct ES to read the experimental data (which are powder values) and export them, again as averaged powder values?
3. To start the fit, I give the experimental conditions and minimisation details. E.g.:
Code: Select all
Exp.Field = 1000;
FitOpt.OutArg = [2 2]; % to fit the magnetic susceptibility chizz (second output)
FitOpt.nKnots = 31;
esfit('curry',chi,Sys,Vary,Exp,[],FitOpt);
Code: Select all
Exp.Temperature is missing
Apparently, I haven't successfully instructed it that T in the [T,chi] declaration refers to temperature. I guess, ES does not read the first column like in the case of EPR spectra, where it knows that B refers to magnetic fields.
Thanks in advance for helping me out with this.