From b538363541f327e9702b4c46162775608e7ed031 Mon Sep 17 00:00:00 2001 From: taw27 Date: Wed, 24 Oct 2007 11:47:14 +0000 Subject: Tweak source of omega for summed stack git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@173 bf6ca9ba-c028-0410-8290-897cf20841d1 --- src/prealign.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/prealign.c') diff --git a/src/prealign.c b/src/prealign.c index 9ecd8c3..e383fa6 100644 --- a/src/prealign.c +++ b/src/prealign.c @@ -113,7 +113,6 @@ void prealign_sum_stack(ImageList *list, int have_centres) { assert(y+yoffs >= 0); image_total[(x+xoffs) + twidth*(y+yoffs)] += list->images[i].image[x + list->images[i].width*y]/list->n_images; - total_record.omega = list->images[i].omega; } } } @@ -136,6 +135,7 @@ void prealign_sum_stack(ImageList *list, int have_centres) { } total_record.x_centre = max_x; total_record.y_centre = max_y; + total_record.omega = list->images[0].omega; } else { @@ -155,12 +155,12 @@ void prealign_sum_stack(ImageList *list, int have_centres) { assert(y+yoffs >= 0); image_total[(x+xoffs) + twidth*(y+yoffs)] += list->images[i].image[x + list->images[i].width*y]/list->n_images; - total_record.omega = list->images[i].omega; } } } + total_record.omega = list->images[0].omega; total_record.x_centre = mwest; total_record.y_centre = msouth; } -- cgit v1.2.3