Documentation - esfit - FitOpt.Scaling

A place to report and discuss potential bugs
Post Reply
ykliao
User
Posts: 15
Joined: Sun Jun 20, 2021 11:56 pm

Documentation - esfit - FitOpt.Scaling

Post by ykliao »

Hello,

I read the description for the FitOpt.Scaling in the documentation of esfit that the default setting for Scaling is 'maxabs'.
However, if I understand correctly, at line 210 of the source code, it writes:

Code: Select all

if ~isfield(FitOpt,'Scaling'), FitOpt.Scaling = 'lsq0'; end

and seems to set 'lsq0' as default value.

I'm sorry for bothering with such a minor issue. I just came across running some simulations assuming it to be 'maxabs', and figured it seems not the case.

Stefan Stoll
EasySpin Creator
Posts: 1050
Joined: Mon Jul 21, 2014 10:11 pm
Location: University of Washington

Re: Documentation - esfit - FitOpt.Scaling

Post by Stefan Stoll »

Thanks for reporting!

Post Reply