diff options
author | Thomas White <taw@physics.org> | 2009-11-12 18:50:14 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2009-11-12 18:50:14 +0100 |
commit | 857cc8c991a5ee4e717d01822da271ae34f5adaa (patch) | |
tree | 891d9f6e63370871726fe78d23d8b6e3796d92fc /src/main.c | |
parent | c9a551b872ae4eb16a606d46a7cf118af24f75f5 (diff) |
Add 'detector' module
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -23,6 +23,7 @@ #include "cell.h" #include "utils.h" #include "hdf5-file.h" +#include "detector.h" /* Crystal size in metres */ @@ -80,9 +81,10 @@ int main(int argc, char *argv[]) image.data = NULL; get_diffraction(&image, cell); + record_image(&image); /* Write the output file */ - hdf5_write("results/sim.h5", image.sfacs, image.width, image.height); + hdf5_write("results/sim.h5", image.data, image.width, image.height); return 0; } |