From 8e4283e4b2e7ca141919768559bf7754bd7eee5c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 1 Jun 2013 11:39:59 -0700 Subject: Don't update integrated location from centroid after integration --- libcrystfel/src/integration.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libcrystfel/src/integration.c') diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index 99721ea2..3082333b 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -1179,8 +1179,6 @@ static void measure_all_intensities(IntegrationMethod meth, RefList *list, fit_bg(&ic, bx); - observed_position(&ic, bx, &bx->offs_fs, &bx->offs_ss); - bx->intensity = tentative_intensity(&ic, bx); set_intensity(refl, bx->intensity); @@ -1511,10 +1509,6 @@ static void integrate_box(struct intcontext *ic, struct peak_box *bx, } } - /* This offset is in addition to the offset from center_and_check_box */ - bx->offs_fs += (double)fsct / pk_total; - bx->offs_ss += (double)ssct / pk_total; - var = pk_counts * bg_var; var += aduph * pk_total; -- cgit v1.2.3