Page 1 of 1

Bug in esfit function (EasySpin 5.2.0)

Posted: Fri Sep 08, 2017 4:08 am
by katarkon
The function esfit() throws an error in interactive mode.

Code: Select all

Error using set
Value must be numeric

Error in C:\easyspin-5.2.0\easyspin\esfit.p>esfit (line 348)

Re: Bug in esfit function (EasySpin 5.2.0)

Posted: Fri Sep 08, 2017 8:13 am
by Stefan Stoll
(1) Which Matlab version are you using?
(2) Please post your input to esfit.

Re: Bug in esfit function (EasySpin 5.2.0)

Posted: Sat Sep 09, 2017 1:08 pm
by katarkon
Matlab version is R2012b. Error throws by any script from examples. For instance, basicfit.m output:

Code: Select all

Error using set
Value must be numeric

Error in E:\easyspin-5.2.0\easyspin\esfit.p>esfit (line 348)


Error in basicfit (line 37)
esfit('pepper',spc,Sys0,Vary,Exp,SimOpt,FitOpt);

Re: Bug in esfit function (EasySpin 5.2.0)

Posted: Sun Sep 10, 2017 10:01 pm
by Stefan Stoll
Fixed in 5.2.1. Thanks for reporting!

Re: Bug in esfit function (EasySpin 5.2.0)

Posted: Tue Sep 12, 2017 4:34 am
by katarkon
Best spectrum (green) is drawn spontaneously now. It seems to be appeared only when the best parameter set changes. So, if better set will not be found during the fitting the spectrum never be drawn. Should it be so?

Re: Bug in esfit function (EasySpin 5.2.0)

Posted: Tue Sep 12, 2017 5:17 pm
by Stefan Stoll
Behavior is now improved in 5.2.2

Re: Bug in esfit function (EasySpin 5.2.0)

Posted: Tue Sep 12, 2017 10:55 pm
by katarkon
Thanks. It works habitually now.