From 19fc5bf79f207d2c1d7c7e9a540802249de8163e Mon Sep 17 00:00:00 2001 From: tlatorre Date: Tue, 4 Sep 2018 17:17:23 -0500 Subject: update kinetic energy step size to 2% of initial kinetic energy guess --- src/fit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/fit.c') 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; -- cgit