aboutsummaryrefslogtreecommitdiff
path: root/src/dirax.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-08 16:46:39 +0100
committerThomas White <taw@physics.org>2010-01-08 16:46:39 +0100
commit6d76e907d01ea5cbc537574bda07404887dcfa63 (patch)
tree67027eb847361894a903960c601391a191fbe56e /src/dirax.c
parent607fbeb1a1b14d0130a071dd445654dbecc51bd7 (diff)
Don't process the lower CCD (for now)
Diffstat (limited to 'src/dirax.c')
-rw-r--r--src/dirax.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dirax.c b/src/dirax.c
index fff93c8a..88a818ae 100644
--- a/src/dirax.c
+++ b/src/dirax.c
@@ -335,6 +335,9 @@ static int map_position(struct image *image, double x, double y,
y -= image->y_centre;
k = 1.0 / image->lambda;
+ /* FIXME: Don't process lower CCD for now */
+ if ( y < 0 ) return 0;
+
if ( image->fmode == FORMULATION_CLEN ) {
/* Convert pixels to metres */