aboutsummaryrefslogtreecommitdiff
path: root/src/cubeit.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-10-27 11:39:14 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:04 +0100
commit679af12a3b4fea2dbdb39cfc56272816f51a2c79 (patch)
tree7ffc38d596b6b8127ade29d7583a58fa231bd57e /src/cubeit.c
parent80e6d044ba9237d2778d91bbb585aa93297a135e (diff)
Take nominal photon energy from file
Diffstat (limited to 'src/cubeit.c')
-rw-r--r--src/cubeit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cubeit.c b/src/cubeit.c
index ad78704e..b613a3fa 100644
--- a/src/cubeit.c
+++ b/src/cubeit.c
@@ -237,7 +237,8 @@ static void sum_image(void *pg, int cookie)
return;
}
- hdf5_read(hdfile, &image, 1);
+ /* FIXME: Nominal photon energy */
+ hdf5_read(hdfile, &image, 1, 2000.0);
cell_get_cartesian(apargs->cell, &ax, &ay, &az, &bx, &by,
&bz, &cx, &cy, &cz);