summaryrefslogtreecommitdiff
path: root/fitgaussian2D.m
diff options
context:
space:
mode:
authorMi Zhang <mzhang@email.wm.edu>2012-09-13 14:52:33 -0400
committerMi Zhang <mzhang@email.wm.edu>2012-09-13 14:52:33 -0400
commit035bd8bad8883198aa101bbe4c4b3410eb7794f0 (patch)
tree3a0c42be31321b863547ca88788df9b72a7517b7 /fitgaussian2D.m
parent81ab7d82a19f66b4d2c315b871cb1abeeaebdfeb (diff)
parentfe82ce111a0c4efc736d25758fda0996bb556811 (diff)
downloadbeam_profiler-035bd8bad8883198aa101bbe4c4b3410eb7794f0.tar.gz
beam_profiler-035bd8bad8883198aa101bbe4c4b3410eb7794f0.zip
Merge branch 'master' of qo.physics.wm.edu:/beam_profiler
Diffstat (limited to 'fitgaussian2D.m')
-rw-r--r--fitgaussian2D.m2
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