diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-10-24 11:47:14 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-10-24 11:47:14 +0000 |
commit | b538363541f327e9702b4c46162775608e7ed031 (patch) | |
tree | e90fbdeb2f8483ed6aad5b6435083a26c82f4c22 /src/prealign.c | |
parent | 6680d56b6c85288cf75d9d1e06aff5de8fa8f1bd (diff) |
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
Diffstat (limited to 'src/prealign.c')
-rw-r--r-- | src/prealign.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |