diff options
-rw-r--r-- | fitgaussian2D.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitgaussian2D.m b/fitgaussian2D.m index a6f3d10..02c9fa2 100644 --- a/fitgaussian2D.m +++ b/fitgaussian2D.m @@ -67,7 +67,7 @@ background = fp1D(4); [X,Y] = meshgrid(1:sizex,1:sizey); %Lower and upper limits for the 2D fit -LB = [1,1,1,1,0,-1.58,0]; +LB = [1,1,1,1,-inf,-1.58,0]; UB = [sizex,sizey,sizex*10,sizey*10,inf,1.58,inf]; % Here we do the 2D fit |