diff options
author | Thomas White <taw@physics.org> | 2010-02-26 10:58:13 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-26 13:40:11 +0100 |
commit | 86dd71e8640394f4e4f5aa71b2e5f51f5fea4a11 (patch) | |
tree | e7039c5d4e9b5477bc1e350e0330d157125d5c9f /src/indexamajig.c | |
parent | b4664bc2a399463bd4e01f331a153749b3947b8f (diff) |
Handle images as floats rather than int16_t
Also, remove bloom - it's not a useful model for what really happens and takes
too long (this isn't a detector simulation..)
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index c7f0279c..5204b15e 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -261,11 +261,11 @@ int main(int argc, char *argv[]) ERROR("Couldn't open molecule.pdb\n"); return 1; } - record_image(&image, 0, 0, 0); + record_image(&image, 0, 0); hdf5_write("simulated.h5", image.data, image.width, image.height, - H5T_NATIVE_INT16); + H5T_NATIVE_FLOAT); } |