aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-11-28 17:41:46 +0100
committerThomas White <taw@physics.org>2012-11-29 12:01:34 +0100
commitfcba20a4c51793701c5946cca8fc264aa2e72450 (patch)
treefb87187f6b6686c7b2d2506f4d819376b7b0f250 /src/im-sandbox.c
parentf322397ceee6a12518c193fafd73487b7b19b875 (diff)
indexamajig: Add --use-saturated
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r--src/im-sandbox.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index 80bb78e0..aed0b04b 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -292,13 +292,15 @@ static void process_image(const struct index_args *iargs,
ERROR("Failed to get peaks from HDF5 file.\n");
}
validate_peaks(&image, iargs->min_int_snr,
- iargs->ir_inn, iargs->ir_mid, iargs->ir_out);
+ iargs->ir_inn, iargs->ir_mid, iargs->ir_out,
+ iargs->use_saturated);
break;
case PEAK_ZAEF:
search_peaks(&image, iargs->threshold,
iargs->min_gradient, iargs->min_snr,
- iargs->ir_inn, iargs->ir_mid, iargs->ir_out);
+ iargs->ir_inn, iargs->ir_mid, iargs->ir_out,
+ iargs->use_saturated);
break;
}