aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-11-28 16:31:19 +0100
committerThomas White <taw@physics.org>2012-11-29 12:01:20 +0100
commit483e3d5883461f0572a181211b6aa306fd2bfdc0 (patch)
tree2ff96dfecc0e82aab5ad6dc231d37798cedc43dc /src/indexamajig.c
parent1d7ab9644999e4ec44bd90fdd249515bf05770b3 (diff)
indexamajig: Add --integrate-saturated
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index f628eb29..2e5c8904 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -161,6 +161,8 @@ static void show_help(const char *s)
" least 10%% of the located peaks.\n"
" --no-bg-sub Don't subtract local background estimates from\n"
" integrated intensities.\n"
+" --integrate-saturated During the final integration stage, don't reject\n"
+" peaks which contain pixels above max_adu.\n"
);
}
@@ -242,6 +244,7 @@ int main(int argc, char *argv[])
float ir_inn = 4.0;
float ir_mid = 5.0;
float ir_out = 7.0;
+ int integrate_saturated = 0;
copyme = new_copy_hdf5_field_list();
if ( copyme == NULL ) {
@@ -288,6 +291,7 @@ int main(int argc, char *argv[])
{"min-integration-snr",1, NULL, 12},
{"tolerance", 1, NULL, 13},
{"int-radius", 1, NULL, 14},
+ {"integrate-saturated",0, &integrate_saturated,1},
{0, 0, NULL, 0}
};
@@ -634,6 +638,7 @@ int main(int argc, char *argv[])
iargs.ir_inn = ir_inn;
iargs.ir_mid = ir_mid;
iargs.ir_out = ir_out;
+ iargs.integrate_saturated = integrate_saturated;
create_sandbox(&iargs, n_proc, prefix, config_basename, fh,
use_this_one_instead, ofh);