diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-09-26 17:13:46 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-09-26 17:13:46 +0000 |
commit | b419ab4428ff4fa0d58354abe6f2a953b9e236ee (patch) | |
tree | d9c6115485bdba34900717f6f2e7a66aaf487aa8 /src/reproject.c | |
parent | 4930a9088b8a13195a7038e9606e1a857fd6883f (diff) |
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
Diffstat (limited to 'src/reproject.c')
-rw-r--r-- | src/reproject.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 */ |