diff options
Diffstat (limited to 'src/hdf5-file.c')
-rw-r--r-- | src/hdf5-file.c | 6 |
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; } |