aboutsummaryrefslogtreecommitdiff
path: root/src/calibrate_detector.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/calibrate_detector.c')
-rw-r--r--src/calibrate_detector.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/calibrate_detector.c b/src/calibrate_detector.c
index 5ca468c6..b20b1619 100644
--- a/src/calibrate_detector.c
+++ b/src/calibrate_detector.c
@@ -189,7 +189,8 @@ static void add_image(void *args, int cookie)
return;
}
- hdf5_read(hdfile, &image, 1);
+ /* FIXME: Nominal photon energy */
+ hdf5_read(hdfile, &image, 1, 2000.0);
if ( pargs->config_cmfilter ) {
filter_cm(&image);