aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-10 14:25:42 +0100
committerThomas White <taw@physics.org>2010-02-17 10:33:25 +0100
commit6563de76906d6a8562a4b25c4c0582f8b7c2d5bd (patch)
treef94dd20410f5c97a6abe0ec7d7890d9a846c73d0 /src/indexamajig.c
parent1b5c5d980742c358debb6cf2783362d847a90230 (diff)
Add --powder option for generating powder patterns directly
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 43127e66..daf37fc9 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -264,7 +264,8 @@ int main(int argc, char *argv[])
record_image(&image, 0, 0, 0);
hdf5_write("simulated.h5", image.data,
- image.width, image.height);
+ image.width, image.height,
+ H5T_NATIVE_INT16);
}