Fitting multiple variables for CW-EPR using new unstable version

General forum for EasySpin: questions, how to's, etc.
Post Reply
fawce047
Newbie
Posts: 2
Joined: Mon May 22, 2023 12:23 pm

Fitting multiple variables for CW-EPR using new unstable version

Post 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.

katarkon
Local Expert
Posts: 186
Joined: Mon Jan 12, 2015 4:01 am

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

Post by katarkon »

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

Post Reply