aboutsummaryrefslogtreecommitdiff
path: root/src/fit.c
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-09-04 17:17:23 -0500
committertlatorre <tlatorre@uchicago.edu>2018-09-04 17:17:23 -0500
commit19fc5bf79f207d2c1d7c7e9a540802249de8163e (patch)
treef3f6c3646901d3e9fb48fc11ff98c5d0a298ab07 /src/fit.c
parent93115467947f00f4714d1358a030267b28acaa7a (diff)
downloadsddm-19fc5bf79f207d2c1d7c7e9a540802249de8163e.tar.gz
sddm-19fc5bf79f207d2c1d7c7e9a540802249de8163e.tar.bz2
sddm-19fc5bf79f207d2c1d7c7e9a540802249de8163e.zip
update kinetic energy step size to 2% of initial kinetic energy guess
Diffstat (limited to 'src/fit.c')
-rw-r--r--src/fit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fit.c b/src/fit.c
index c26b27e..50501b2 100644
--- a/src/fit.c
+++ b/src/fit.c
@@ -238,12 +238,12 @@ int fit_event(event *ev, double *xopt, double *fmin)
x0[7] = 0.0;
x0[8] = 0.0;
- ss[0] = 10.0;
+ ss[0] = x0[0]*0.02;
ss[1] = 10.0;
ss[2] = 10.0;
ss[3] = 10.0;
- ss[4] = 0.1;
- ss[5] = 0.1;
+ ss[4] = 0.01;
+ ss[5] = 0.01;
ss[6] = 1.0;
ss[7] = 0.1;
ss[8] = 0.1;