From 679af12a3b4fea2dbdb39cfc56272816f51a2c79 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 27 Oct 2010 11:39:14 +0200 Subject: Take nominal photon energy from file --- src/calibrate_detector.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/calibrate_detector.c') 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); -- cgit v1.2.3