From b419ab4428ff4fa0d58354abe6f2a953b9e236ee Mon Sep 17 00:00:00 2001 From: taw27 Date: Wed, 26 Sep 2007 17:13:46 +0000 Subject: Beginnings of a new initial basis choice (needs fixing) git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@131 bf6ca9ba-c028-0410-8290-897cf20841d1 --- src/reproject.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/reproject.c') diff --git a/src/reproject.c b/src/reproject.c index 7c3ec70..0d79900 100644 --- a/src/reproject.c +++ b/src/reproject.c @@ -77,7 +77,6 @@ ImageReflection *reproject_get_reflections(ImageRecord image, size_t *n, Reflect A2 = (-b - sqrt(b*b-4.0*a*c))/(2.0*a); s1 = 1.0/image.lambda - A1; s2 = 1.0/image.lambda - A2; - if ( fabs(s1) < fabs(s2) ) s = s1; else s = s2; /* Skip this reflection if s is large */ @@ -103,8 +102,8 @@ ImageReflection *reproject_get_reflections(ImageRecord image, size_t *n, Reflect double psi, disc; - reflection_add(ctx->reflectionctx, xl, yl, zl, 1, REFLECTION_GENERATED); - reflection_add(ctx->reflectionctx, xi, yi, zi, 1, REFLECTION_MARKER); + //reflection_add(ctx->reflectionctx, xl, yl, zl, 1, REFLECTION_GENERATED); + //reflection_add(ctx->reflectionctx, xi, yi, zi, 1, REFLECTION_MARKER); /* Calculate azimuth of point in image (clockwise from "up", will be changed later) */ cx = yi*nz-zi*ny; cy = nx*zi-nz*xi; cz = ny*xi-nx*yi; /* c = i x n */ -- cgit v1.2.3