diff options
author | Thomas White <taw@physics.org> | 2015-04-27 15:26:58 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-04-28 14:47:19 +0200 |
commit | c192a34cb66c17b1f67447afe87abf928997ca63 (patch) | |
tree | 24a7cf573577f57e13b2004dd8b93710b89f351b /src | |
parent | 67e8af607654dd79f68d6e24dcfd5dcc5905a398 (diff) |
Remove camera length refinement
...because it very often seems to cause problems.
Diffstat (limited to 'src')
-rw-r--r-- | src/predict-refine.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/predict-refine.c b/src/predict-refine.c index 70e523e4..26dcf139 100644 --- a/src/predict-refine.c +++ b/src/predict-refine.c @@ -61,10 +61,9 @@ static const enum gparam rv[] = GPARAM_CSZ, GPARAM_DETX, GPARAM_DETY, - GPARAM_CLEN }; -static const int num_params = 12; +static const int num_params = 11; struct reflpeak { Reflection *refl; @@ -736,9 +735,8 @@ int refine_prediction(struct image *image, Crystal *cr) } STATUS("Final residual = %e\n", residual(rps, n, image->det)); - snprintf(tmp, 1024, "predict_refine/det_shift x = %.3f y = %.3f mm\n" - "predict_refine/clen_shift = %.3f mm", - total_x*1e3, total_y*1e3, total_z*1e3); + snprintf(tmp, 1024, "predict_refine/det_shift x = %.3f y = %.3f mm", + total_x*1e3, total_y*1e3); crystal_add_notes(cr, tmp); crystal_set_reflections(cr, NULL); |