From 857cc8c991a5ee4e717d01822da271ae34f5adaa Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 12 Nov 2009 18:50:14 +0100 Subject: Add 'detector' module --- src/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index ee02d340..c101fc87 100644 --- a/src/main.c +++ b/src/main.c @@ -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; } -- cgit v1.2.3