aboutsummaryrefslogtreecommitdiff
path: root/src/reintegrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reintegrate.c')
-rw-r--r--src/reintegrate.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/reintegrate.c b/src/reintegrate.c
index 53117163..a278a3ec 100644
--- a/src/reintegrate.c
+++ b/src/reintegrate.c
@@ -29,6 +29,7 @@
#include "symmetry.h"
#include "peaks.h"
#include "stream.h"
+#include "index.h"
#define MAX_THREADS (256)
@@ -121,9 +122,11 @@ static void process_image(struct process_args *pargs)
hdf5_read(hdfile, &image, pargs->config_satcorr);
+ map_all_peaks(&image);
+
/* Sanity check */
if ( pargs->config_sanity
- && !peak_sanity_check(&image, image.indexed_cell, 0, 0.1) ) {
+ && !peak_sanity_check(&image, image.indexed_cell, 1, 0.006e9) ) {
STATUS("Failed peak sanity check.\n");