Page 1 of 1

Fitting multiple variables for CW-EPR using new unstable version

Posted: Mon May 22, 2023 12:30 pm
by fawce047

Hello,

I have been able to get fits for one component systems using the chili function via the code below in the unstable form of Easyspin.

esfit(spc, @chili, {Nx1,Exp}, {Vary1})

However, the data that I need to fit is a two-component system. Modifying the line above to get a two-component system in a similar way shown in the examples leads code below

esfit(spc,@chili,{Nx1 Exp Nx2 Exp},{Vary1 Vary2});

leads to an error stating that "Parameter 8: Field .weight is missing in input 2."

Is there something that I am inputting wrong in the unstable version of Easyspin? Any help would be appreciated.


Re: Fitting multiple variables for CW-EPR using new unstable version

Posted: Mon May 22, 2023 10:10 pm
by katarkon

You have use esfit(spc,@chili,{{Nx1,Nx2}, Exp},{{Vary1,Vary2}});