aboutsummaryrefslogtreecommitdiff
path: root/src/hdf5-file.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-15 09:36:04 +0100
committerThomas White <taw@physics.org>2010-01-15 09:36:04 +0100
commit4400739e74b8f4f37c1bdc64ed16022103a2089b (patch)
treef690734f3010a7ef1d3d8f5d96680d1eb84a607c /src/hdf5-file.c
parentbe91dcd68350569a709699867a1c25cf7ea6d15a (diff)
Handle upper and lower CCDs correctly
Diffstat (limited to 'src/hdf5-file.c')
-rw-r--r--src/hdf5-file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hdf5-file.c b/src/hdf5-file.c
index 32bded7a..0ff98913 100644
--- a/src/hdf5-file.c
+++ b/src/hdf5-file.c
@@ -258,8 +258,8 @@ int hdf5_read(struct hdfile *f, struct image *image)
image->width = f->ny;
/* FIXME: The following are basically made up... */
- image->x_centre = image->width/2 - 19;
- image->y_centre = image->height/2 - 75;
+ image->x_centre = image->width/2;
+ image->y_centre = image->height/2;
image->lambda = ph_en_to_lambda(eV_to_J(1793.0));
image->fmode = FORMULATION_CLEN;
image->camera_len = 75.0e-3; /* 75 mm camera length */