aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-07-17 15:19:38 +0200
committerThomas White <taw@physics.org>2015-07-17 15:27:05 +0200
commit93a708ef17d6bc314a343e837ce41ac4739cfc51 (patch)
tree823c7e2edc2a9983cd50a4e08172e8d99b14c87b /src/partialator.c
parent6080da714069610e2c5ef53d374f97b1cd29f1bb (diff)
partialator: Add --no-pr
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 4398c9f8..2ad20094 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -74,7 +74,8 @@ static void show_help(const char *s)
" --start-after=<n> Skip <n> crystals at the start of the stream.\n"
" --stop-after=<n> Stop after merging <n> crystals.\n"
" -n, --iterations=<n> Run <n> cycles of scaling and post-refinement.\n"
-" --no-scale Fix all the scaling factors at unity.\n"
+" --no-scale Disable scale factor (G, B) refinement.\n"
+" --no-pr Disable orientation/physics refinement.\n"
" -m, --model=<model> Specify partiality model.\n"
" --min-measurements=<n> Minimum number of measurements to require.\n"
" --no-polarisation Disable polarisation correction.\n"
@@ -370,6 +371,7 @@ int main(int argc, char *argv[])
int n_crystals_seen = 0;
char cmdline[1024];
int no_scale = 0;
+ int no_pr = 0;
Stream *st;
Crystal **crystals;
char *pmodel_str = NULL;
@@ -405,6 +407,7 @@ int main(int argc, char *argv[])
{"res-push", 1, NULL, 5}, /* compat */
{"no-scale", 0, &no_scale, 1},
+ {"no-pr", 0, &no_pr, 1},
{"no-polarisation", 0, &polarisation, 0},
{"no-polarization", 0, &polarisation, 0},
{"polarisation", 0, &polarisation, 1}, /* compat */
@@ -726,7 +729,7 @@ int main(int argc, char *argv[])
/* Refine all crystals to get the best fit */
refine_all(crystals, n_crystals, full, nthreads, pmodel,
- no_scale, &init_dev, &init_free_dev,
+ no_scale, no_pr, &init_dev, &init_free_dev,
&final_dev, &final_free_dev);
STATUS("Overall residual: initial = %e, final = %e\n",