aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-06-20 10:54:39 +0200
committerThomas White <taw@physics.org>2014-06-20 10:58:27 +0200
commit7b14415fddc76710352a906c0e1a3e86273e9f08 (patch)
tree0892e47cf0ed0ae105a189a8ebf2418edf3a60cd /src/process_image.c
parent162b0c7a8a8a7c91a4c12e75577ec33aef03b1ce (diff)
indexamajig: Add --peak-radius
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process_image.c b/src/process_image.c
index ba68021a..4751073b 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -127,8 +127,8 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
}
if ( !iargs->no_revalidate ) {
validate_peaks(&image, iargs->min_snr,
- iargs->ir_inn, iargs->ir_mid,
- iargs->ir_out, iargs->use_saturated,
+ iargs->pk_inn, iargs->pk_mid,
+ iargs->pk_out, iargs->use_saturated,
iargs->check_hdf5_snr);
}
break;
@@ -136,7 +136,7 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
case PEAK_ZAEF:
search_peaks(&image, iargs->threshold,
iargs->min_gradient, iargs->min_snr,
- iargs->ir_inn, iargs->ir_mid, iargs->ir_out,
+ iargs->pk_inn, iargs->pk_mid,iargs->pk_out,
iargs->use_saturated);
break;