globally fitting multiple spectra with esfit
Posted: Tue Feb 06, 2018 6:55 am
Hello,
when I try to start a fit using the example "globally fitting multiple spectra" in the Easyspin documentation with the following command, (where spec_x and spec_Q are matrices containing the B-values in the first column and the intensities in the second column) I always get the following error message:
So my question is: How do you enter the experimental spectral data into esfit if you want to make a global fit of two spectra?
when I try to start a fit using the example "globally fitting multiple spectra" in the Easyspin documentation with the following command
Code: Select all
esfit('globalfit',{spec_X(:,2),spec_Q(:,2)},Sys1,Vary1,Exp,SimOpt,FitOpt);
Unfortunately, due to the different number of data points, I cannot combine the X- (4096 data points) and Q-band spectrum (3000 data points) in one matrix.Error using esfit
Second parameter must be experimental data.
So my question is: How do you enter the experimental spectral data into esfit if you want to make a global fit of two spectra?