aboutsummaryrefslogtreecommitdiff
path: root/src/hdf5-file.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-08 14:55:13 +0100
committerThomas White <taw@physics.org>2010-01-08 14:55:13 +0100
commita374cdb2396659d711f85851cb0904ccf7c9731d (patch)
tree5b63c80820293aa5b25c805352dc2c928a5f9a30 /src/hdf5-file.c
parented795ee42e10c2fc3176d960a5c8b8ea29d3ea8a (diff)
Small fixes
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 b1f78b3b..0e9453cf 100644
--- a/src/hdf5-file.c
+++ b/src/hdf5-file.c
@@ -246,8 +246,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;
- image->y_centre = image->height/2;
+ image->x_centre = image->width/2 - 19;
+ image->y_centre = image->height/2 - 35;
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 */