aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-05-30 10:16:40 -0700
committerThomas White <taw@physics.org>2013-05-30 10:16:40 -0700
commitb6c871b70cae2fd6359b8066bdfade29f62d7fe5 (patch)
tree27410d5047d09ccaaba33d6aada68d3d2e9b02b6
parent90063123279d99825f76d0bb06feb7471e200bea (diff)
Validate peaks using peak search SNR, not integration SNR
-rw-r--r--src/process_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process_image.c b/src/process_image.c
index 7e91de2d..f432f8eb 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -131,7 +131,7 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
ERROR("Failed to get peaks from HDF5 file.\n");
}
if ( !iargs->no_revalidate ) {
- validate_peaks(&image, iargs->min_int_snr,
+ validate_peaks(&image, iargs->min_snr,
iargs->ir_inn, iargs->ir_mid,
iargs->ir_out, iargs->use_saturated);
}