diff options
author | Thomas White <taw@physics.org> | 2019-03-06 15:11:17 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-03-06 15:11:17 +0100 |
commit | 29fdf21f5bc807e612cb560d262617304fef33fe (patch) | |
tree | 471084a90279aa28d6ee5e1727593c61a3eeecc0 /src/process_image.c | |
parent | 02e1c27088afab67f2e637ab57fd11ed1f0f71e5 (diff) |
indexamajig: Rename --min-gradient to --min-squared-gradient
The eventual aim of this is to deprecate the "--min-gradient" option,
resolving the long-standing confusion about whether this option is the
gradient or the squared gradient.
Diffstat (limited to 'src/process_image.c')
-rw-r--r-- | src/process_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process_image.c b/src/process_image.c index 31abcb21..a5418486 100644 --- a/src/process_image.c +++ b/src/process_image.c @@ -266,7 +266,7 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs, case PEAK_ZAEF: set_last_task(last_task, "peaksearch:zaef"); search_peaks(&image, iargs->threshold, - iargs->min_gradient, iargs->min_snr, + iargs->min_sq_gradient, iargs->min_snr, iargs->pk_inn, iargs->pk_mid, iargs->pk_out, iargs->use_saturated); break; |