diff options
author | Thomas White <taw@physics.org> | 2012-11-28 17:41:46 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-11-29 12:01:34 +0100 |
commit | fcba20a4c51793701c5946cca8fc264aa2e72450 (patch) | |
tree | fb87187f6b6686c7b2d2506f4d819376b7b0f250 /src/indexamajig.c | |
parent | f322397ceee6a12518c193fafd73487b7b19b875 (diff) |
indexamajig: Add --use-saturated
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 2e5c8904..57c16932 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" +" --use-saturated During the initial peak search, don't reject\n" +" peaks which contain pixels above max_adu.\n" " --integrate-saturated During the final integration stage, don't reject\n" " peaks which contain pixels above max_adu.\n" ); @@ -245,6 +247,7 @@ int main(int argc, char *argv[]) float ir_mid = 5.0; float ir_out = 7.0; int integrate_saturated = 0; + int use_saturated = 0; copyme = new_copy_hdf5_field_list(); if ( copyme == NULL ) { @@ -292,6 +295,7 @@ int main(int argc, char *argv[]) {"tolerance", 1, NULL, 13}, {"int-radius", 1, NULL, 14}, {"integrate-saturated",0, &integrate_saturated,1}, + {"use-saturated",0, &use_saturated, 1}, {0, 0, NULL, 0} }; @@ -638,6 +642,7 @@ int main(int argc, char *argv[]) iargs.ir_inn = ir_inn; iargs.ir_mid = ir_mid; iargs.ir_out = ir_out; + iargs.use_saturated = use_saturated; iargs.integrate_saturated = integrate_saturated; create_sandbox(&iargs, n_proc, prefix, config_basename, fh, |