aboutsummaryrefslogtreecommitdiff
path: root/src/reintegrate.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-09-28 18:20:56 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:00 +0100
commit0dcf9c99fa6e3e78524b34ce24a40011c2554b3c (patch)
treeba4c0dea8d0e002590550b460fa1e63a74d65d7e /src/reintegrate.c
parent8f43ca33d5edd9f75660174870e16afe8b9913bd (diff)
Update sanity check
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");