aboutsummaryrefslogtreecommitdiff
path: root/src/reintegrate.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-09-29 22:32:34 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:00 +0100
commit7c030ab77c830ab4e7a679f314fa413d126cea27 (patch)
treede58bc1037410996af641c9466b86ae83867bb59 /src/reintegrate.c
parent0da8b0efa29a1d581a15ffacafec5e1e5dec76ea (diff)
Make it the default to do the saturation correction
Diffstat (limited to 'src/reintegrate.c')
-rw-r--r--src/reintegrate.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/reintegrate.c b/src/reintegrate.c
index a278a3ec..673f3bc2 100644
--- a/src/reintegrate.c
+++ b/src/reintegrate.c
@@ -77,8 +77,8 @@ static void show_help(const char *s)
" before proceeding. Intensities will be extracted\n"
" from the image as it is after this processing.\n"
" --unpolarized Don't correct for the polarisation of the X-rays.\n"
-" --sat-corr Correct values of saturated peaks using a table\n"
-" included in the HDF5 file.\n"
+" --no-sat-corr Don't correct values of saturated peaks using a\n"
+" table included in the HDF5 file.\n"
" --no-sa Don't correct for the differing solid angles of\n"
" the pixels.\n"
" --no-closer-peak Don't integrate from the location of a nearby peak\n"
@@ -336,7 +336,7 @@ int main(int argc, char *argv[])
int config_closer = 1;
int config_polar = 1;
int config_sanity = 0;
- int config_satcorr = 0;
+ int config_satcorr = 1;
int config_sa = 1;
int config_cmfilter = 0;
struct detector *det;
@@ -353,6 +353,7 @@ int main(int argc, char *argv[])
{"unpolarized", 0, &config_polar, 0},
{"check-sanity", 0, &config_sanity, 1},
{"sat-corr", 0, &config_satcorr, 1},
+ {"no-sat-corr", 0, &config_satcorr, 0},
{"no-sa", 0, &config_sa, 0},
{"filter-cm", 0, &config_cmfilter, 1},
{0, 0, NULL, 0}