Skip to content

Commit

Permalink
Different width error fixed
Browse files Browse the repository at this point in the history
Error in different width fixed for small images
  • Loading branch information
quantitativeTEM authored Mar 22, 2017
1 parent c81237c commit 518237c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/FitProgram/fitGauss_small.m
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
EstimatedParametersnonlin = lsqnonlin('criterionGauss_diffrhoSmall',StartParametersnonlin',[],[],options,X,Y,n_c,K,L,resObs_bs,fitzeta,indMat,dx);
else
options.OutputFcn = @getIterDiff;
EstimatedParametersnonlin = lsqnonlin('criterionGauss_samerhoSmall',StartParametersnonlin',[],[],options,X,Y,n_c,K,L,resObs_bs,fitzeta,indMat,dx,hwaitbar,abortbut);
EstimatedParametersnonlin = lsqnonlin('criterionGauss_diffrhoSmall',StartParametersnonlin',[],[],options,X,Y,n_c,K,L,resObs_bs,fitzeta,indMat,dx,hwaitbar,abortbut);
end
else
% starting values for the non linear parameters in Å % betaX, betaY, rho (position coordinates and width)
Expand Down

0 comments on commit 518237c

Please sign in to comment.