aboutsummaryrefslogtreecommitdiff
path: root/src/reproject.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reproject.c')
-rw-r--r--src/reproject.c5
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 */