Fitting experimental parameters with esfit in multicomponent
Posted: Mon Dec 05, 2016 5:23 am
I would like to take into account the drift of the microvawe frequency with the temperature variation. Unfortunately, Bruker EMX spectrometer writes only one MF value for all spectra. So, the drift of g-factor values is unavoidable.
The custom simulation function should solve the problem for one spin system case.
But this code should not be working properly for multicomponent fitting. Each system should have own Sys.mwFreq parameter which will be treated independently by esfit function. So there is a risk to obtain different MF values at the end.
Is any way to overcome the problem?
The custom simulation function should solve the problem for one spin system case.
Code: Select all
function y = mysim(Sys,Exp,Opt);
Exp.mwFreq = Sys.mwFreq;
[x,y] = garlic(Sys,Exp,Opt);
Code: Select all
Sys.mwFreq = 9.65;
Vary.mwFreq = 0.05;
esfit('mysim',data,Sys,Vary,Exp);
Is any way to overcome the problem?