diff options
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r-- | src/pattern_sim.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c index 3f3d93ea..e3c5ec8a 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -25,6 +25,7 @@ #include "utils.h" #include "hdf5-file.h" #include "detector.h" +#include "intensities.h" static void show_help(const char *s) @@ -224,6 +225,10 @@ int main(int argc, char *argv[]) get_diffraction(&image); record_image(&image); + if ( config_nearbragg ) { + output_intensities(&image); + } + snprintf(filename, 1023, "results/sim-%i.h5", number); number++; |