aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-04-24 16:52:16 +0200
committerThomas White <taw@physics.org>2023-07-28 13:22:04 +0200
commit99849c8ed87a424a76e4826ed39ad65cacfaecfb (patch)
tree23c1b0f505527cf7550f65e0f004d505e2efe2a9 /src/indexamajig.c
parentc8fb149760f7a8ef4e018f22e79bcb48e1e3c444 (diff)
indexamajig: Hooks for Mille
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 57e1e5fb..7f5504cd 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -3,13 +3,13 @@
*
* Index patterns, output hkl+intensity etc.
*
- * Copyright © 2012-2022 Deutsches Elektronen-Synchrotron DESY,
+ * Copyright © 2012-2023 Deutsches Elektronen-Synchrotron DESY,
* a research centre of the Helmholtz Association.
* Copyright © 2012 Richard Kirian
* Copyright © 2012 Lorenzo Galli
*
* Authors:
- * 2010-2022 Thomas White <taw@physics.org>
+ * 2010-2023 Thomas White <taw@physics.org>
* 2011 Richard Kirian
* 2012 Lorenzo Galli
* 2012 Chunhong Yoon
@@ -722,6 +722,10 @@ static error_t parse_arg(int key, char *arg, struct argp_state *state)
}
break;
+ case 416 :
+ args->iargs.mille = 1;
+ break;
+
/* ---------- Integration ---------- */
case 501 :
@@ -966,6 +970,7 @@ int main(int argc, char *argv[])
args.iargs.clen_estimate = NAN;
args.iargs.n_threads = 1;
args.iargs.data_format = DATA_SOURCE_TYPE_UNKNOWN;
+ args.iargs.mille = 0;
argp_program_version_hook = show_version;
@@ -1085,6 +1090,8 @@ int main(int argc, char *argv[])
"Maximum number of threads allowed for indexing engines."},
{"camera-length-estimate", 415, "metres", 0,
"Estimate of the camera length, in metres."},
+ {"mille", 416, NULL, 0,
+ "Generate data for detector geometry refinement using Millepede"},
{NULL, 0, 0, OPTION_DOC, "Integration options:", 5},
{"integration", 501, "method", OPTION_NO_USAGE, "Integration method"},