aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-06-01 11:39:59 -0700
committerThomas White <taw@bitwiz.org.uk>2013-06-01 11:39:59 -0700
commit8e4283e4b2e7ca141919768559bf7754bd7eee5c (patch)
tree262857845d753ac719b6b00a1d3e40a173cca80d /libcrystfel
parentb3f389bd305276757636df9fbe8c43d7cf6fb0a6 (diff)
Don't update integrated location from centroid after integration
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/integration.c6
1 files changed, 0 insertions, 6 deletions
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;