aboutsummaryrefslogtreecommitdiff
path: root/src/hdf5-file.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-01-05 17:35:59 +0100
committerThomas White <taw@physics.org>2010-01-05 17:36:49 +0100
commit8a89c359ebb241d36db89acf188d130691663e51 (patch)
treed6ca62bddfc57eced23e342ce49ebaa1c9f46066 /src/hdf5-file.c
parent9a0a1c228355e0efb7f423529c11bc162b7cbafd (diff)
Introduce process_images
Diffstat (limited to 'src/hdf5-file.c')
-rw-r--r--src/hdf5-file.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/hdf5-file.c b/src/hdf5-file.c
index bd30ff7d..3f3747ca 100644
--- a/src/hdf5-file.c
+++ b/src/hdf5-file.c
@@ -246,8 +246,14 @@ int hdf5_read(struct hdfile *f, struct image *image)
image->data = buf;
image->height = f->nx;
image->width = f->ny;
+
+ /* FIXME: The following are basically made up... */
image->x_centre = image->width/2;
image->y_centre = image->height/2;
+ image->lambda = ph_en_to_lambda(J_to_eV(1793));
+ image->fmode = FORMULATION_CLEN;
+ image->camera_len = 75.0e-3; /* 75 mm camera length */
+ image->resolution = 13333.3; /* 75 micron pixel size */
return 0;
}