aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c8
-rw-r--r--src/process_image.c2
-rw-r--r--src/process_image.h1
3 files changed, 0 insertions, 11 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 84a372cb..dc244866 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -121,8 +121,6 @@ static void show_help(const char *s)
" Default: 100,000.\n"
" --min-snr=<n> Minimum signal-to-noise ratio for peaks.\n"
" Default: 5.\n"
-" --min-integration-snr=<n> Minimum signal-to-noise ratio for peaks\n"
-" during integration. Default: -infinity.\n"
" --int-radius=<r> Set the integration radii. Default: 4,5,7.\n"
"-e, --image=<element> Use this image from the HDF5 file.\n"
" Example: /data/data0.\n"
@@ -191,7 +189,6 @@ int main(int argc, char *argv[])
iargs.threshold = 800.0;
iargs.min_gradient = 100000.0;
iargs.min_snr = 5.0;
- iargs.min_int_snr = -INFINITY;
iargs.det = NULL;
iargs.peaks = PEAK_ZAEF;
iargs.beam = NULL;
@@ -255,7 +252,6 @@ int main(int argc, char *argv[])
{"hdf5-peaks", 1, NULL, 9},
{"copy-hdf5-field", 1, NULL, 10},
{"min-snr", 1, NULL, 11},
- {"min-integration-snr",1, NULL, 12},
{"tolerance", 1, NULL, 13},
{"int-radius", 1, NULL, 14},
{"median-filter", 1, NULL, 15},
@@ -368,10 +364,6 @@ int main(int argc, char *argv[])
iargs.min_snr = strtof(optarg, NULL);
break;
- case 12 :
- iargs.min_int_snr = strtof(optarg, NULL);
- break;
-
case 13 :
toler = strdup(optarg);
break;
diff --git a/src/process_image.c b/src/process_image.c
index f432f8eb..6bddae50 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -174,8 +174,6 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
/* Integrate all the crystals at once - need all the crystals so that
* overlaps can be detected. */
integrate_all(&image, iargs->int_meth,
- iargs->closer,
- iargs->min_int_snr,
iargs->ir_inn, iargs->ir_mid, iargs->ir_out,
iargs->integrate_saturated);
diff --git a/src/process_image.h b/src/process_image.h
index 03041562..ac197927 100644
--- a/src/process_image.h
+++ b/src/process_image.h
@@ -55,7 +55,6 @@ struct index_args
float threshold;
float min_gradient;
float min_snr;
- double min_int_snr;
struct detector *det;
IndexingMethod *indm;
IndexingPrivate **ipriv;