aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-02-08 14:27:01 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:13 +0100
commit02452502fa887e8943196b02d270e7ad92462829 (patch)
tree92b5a49a6a473d3f8f09f11f537d8757c1244039 /src
parent2f5b44635ac37f988b3b281c5aa0aada5a9d9d03 (diff)
One more unnecessary integration
Diffstat (limited to 'src')
-rw-r--r--src/post-refinement.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index 93b65810..4fa7ad47 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -273,10 +273,8 @@ static double pr_iterate(struct image *image, const double *i_full,
signed int hind, kind, lind;
signed int ha, ka, la;
double I_full, delta_I;
- float I_partial;
- float xc, yc;
+ double I_partial;
int k;
- double x, y;
double p;
get_indices(refl, &hind, &kind, &lind);
@@ -284,13 +282,7 @@ static double pr_iterate(struct image *image, const double *i_full,
if ( !get_scalable(refl) ) continue;
/* Actual measurement of this reflection from this pattern? */
- get_detector_pos(refl, &x, &y);
- /* FIXME: Get rid of this */
- if ( integrate_peak(image, x, y,
- &xc, &yc, &I_partial, NULL, NULL,
- 1, 0) ) {
- continue;
- }
+ I_partial = get_intensity(refl);
get_asymm(hind, kind, lind, &ha, &ka, &la, sym);
I_full = lookup_intensity(i_full, ha, ka, la);