aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-03-11 17:44:27 +0100
committerThomas White <taw@physics.org>2013-03-11 17:45:52 +0100
commit4b7fbbbfdea27b9098af5174dee9910baae0ab31 (patch)
tree29ed9ab1f9a50c57b5f3dfd150e01cb2b1450da1 /src/indexamajig.c
parent6af905071a4865bc4481226d9319a3f5740efae8 (diff)
Get rid of "--filter-cm"
This was completely specific to pnCCDs, and not even properly general to the different configurations there.
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 27ec31fc..208c0ed0 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -104,9 +104,6 @@ static void show_help(const char *s)
"For more control over the process, you might need:\n\n"
" --tolerance=<tol> Set the tolerances for cell comparison.\n"
" Default: 5,5,5,1.5.\n"
-" --filter-cm Perform common-mode noise subtraction on images\n"
-" before proceeding. Intensities will be extracted\n"
-" from the image as it is after this processing.\n"
" --filter-noise Apply an aggressive noise filter which sets all\n"
" pixels in each 3x3 region to zero if any of them\n"
" have negative values. Intensity measurement will\n"
@@ -114,7 +111,7 @@ static void show_help(const char *s)
" --median-filter=<n> Apply a median filter to the image data. Intensity\n"
" measurement will be performed on the image as it\n"
" was before this. The side length of the median\n"
-" filter box will be <n>. Default: 0 (no filter).\n"
+" filter box will be 2<n>+1. Default: 0 (no filter).\n"
" --no-sat-corr Don't correct values of saturated peaks using a\n"
" table included in the HDF5 file.\n"
" --threshold=<n> Only accept peaks above <n> ADU. Default: 800.\n"
@@ -185,7 +182,6 @@ int main(int argc, char *argv[])
/* Defaults */
iargs.cell = NULL;
- iargs.cmfilter = 0;
iargs.noisefilter = 0;
iargs.median_filter = 0;
iargs.satcorr = 1;
@@ -239,7 +235,6 @@ int main(int argc, char *argv[])
{"image", 1, NULL, 'e'},
/* Long-only options with no arguments */
- {"filter-cm", 0, &iargs.cmfilter, 1},
{"filter-noise", 0, &iargs.noisefilter, 1},
{"no-sat-corr", 0, &iargs.satcorr, 0},
{"sat-corr", 0, &iargs.satcorr, 1},