aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorAlexandra Tolstikova <alexandra.tolstikova@desy.de>2015-10-30 11:55:30 +0100
committerThomas White <taw@physics.org>2017-02-01 16:04:31 +0100
commitd03c456a838bdebf30e8b508885f0f0907618c00 (patch)
tree6ac0f1f39db0d2cd638759c285a0a80c181eea85 /libcrystfel/src
parentcb5ad70ca8ba8796f276bad7e80f5cf345f00639 (diff)
Change volume_min, volume_max and d_max when indexing=asdf-comb
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/asdf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libcrystfel/src/asdf.c b/libcrystfel/src/asdf.c
index a8c8b0f3..94d993cf 100644
--- a/libcrystfel/src/asdf.c
+++ b/libcrystfel/src/asdf.c
@@ -1106,15 +1106,16 @@ int run_asdf(struct image *image, IndexingPrivate *ipriv)
double LevelFit = 1./1000;
double IndexFit = 1./500;
- double d_max = 400.; // thrice the maximum expected axis length
+ double d_max = 1000.; // thrice the maximum expected axis length
double volume_min = 100.;
- double volume_max = 1000000.;
+ double volume_max = 100000000.;
int N_triplets_max = 10000; // maximum number of triplets
struct asdf_private *dp = (struct asdf_private *)ipriv;
- if ( dp->indm & INDEXING_CHECK_CELL_AXES ) {
+ if ( dp->indm & INDEXING_CHECK_CELL_AXES ||
+ dp->indm & INDEXING_CHECK_CELL_COMBINATIONS) {
double a, b, c, gamma, beta, alpha;
cell_get_parameters(dp->template, &a, &b, &c,
&alpha, &beta, &gamma);