diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-05-29 10:29:04 -0400 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-05-29 10:29:04 -0400 |
commit | 9b76e490e74c827f63424133bb2e45f01cb1ea55 (patch) | |
tree | c28853024db565b7134b6426f78b26f9328628bc | |
parent | fc39b4483eb794d58ed554f9de90f488607130ab (diff) | |
download | sddm-9b76e490e74c827f63424133bb2e45f01cb1ea55.tar.gz sddm-9b76e490e74c827f63424133bb2e45f01cb1ea55.tar.bz2 sddm-9b76e490e74c827f63424133bb2e45f01cb1ea55.zip |
set step size on theta and phi to 0.1
Also, update the step size for the energy during the final minimization to 10%.
-rw-r--r-- | src/fit.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5387,8 +5387,8 @@ int fit_event2(event *ev, double *xopt, double *fmin, int *id, size_t n, double x[4+3*j] = T0; ss[4+3*j] = x[4+3*j]*0.1; - ss[5+3*j] = 0.01; - ss[6+3*j] = 0.01; + ss[5+3*j] = 0.1; + ss[6+3*j] = 0.1; lb[4+3*j] = Tmin; lb[5+3*j] = -INFINITY; lb[6+3*j] = -INFINITY; @@ -5443,7 +5443,7 @@ int fit_event2(event *ev, double *xopt, double *fmin, int *id, size_t n, double ub[2] = +1000.0; ub[3] = GTVALID; - /* Set the energy step size to 2% of the energy. */ + /* Set the energy step size to 10% of the energy. */ for (j = 0; j < n; j++) { ss[4+3*j] = xopt[4+3*j]*0.1; } |