aboutsummaryrefslogtreecommitdiff
path: root/src/powder_plot.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/powder_plot.c
parent80e6d044ba9237d2778d91bbb585aa93297a135e (diff)
Take nominal photon energy from file
Diffstat (limited to 'src/powder_plot.c')
-rw-r--r--src/powder_plot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powder_plot.c b/src/powder_plot.c
index d9049cc3..f8038274 100644
--- a/src/powder_plot.c
+++ b/src/powder_plot.c
@@ -102,7 +102,7 @@ int main(int argc, char *argv[])
hdfile = hdfile_open(filename);
hdfile_set_image(hdfile, "/data/data");
- hdf5_read(hdfile, &image, 1);
+ hdf5_read(hdfile, &image, 1, 2000.0);
for ( x=0; x<image.width; x++ ) {
for ( y=0; y<image.height; y++ ) {