diff options
author | Thomas White <taw@physics.org> | 2010-10-27 11:39:14 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:04 +0100 |
commit | 679af12a3b4fea2dbdb39cfc56272816f51a2c79 (patch) | |
tree | 7ffc38d596b6b8127ade29d7583a58fa231bd57e /src/calibrate_detector.c | |
parent | 80e6d044ba9237d2778d91bbb585aa93297a135e (diff) |
Take nominal photon energy from file
Diffstat (limited to 'src/calibrate_detector.c')
-rw-r--r-- | src/calibrate_detector.c | 3 |
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); |