aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorKenneth R. Beyerlein <ken.beyerlein@gmail.com>2017-11-21 22:45:46 +0100
committerThomas White <taw@physics.org>2018-02-08 15:48:24 +0100
commitaf83c9f590349612fa3cff378ae165b33c0fe8f5 (patch)
tree5b6b583bfb36dbf161f45e8ea19786fce7f2c0d6 /libcrystfel
parenta6f7b412bd6e52dfae5fff84a9a33f1223c05db7 (diff)
Make felix-domega option
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/felix.c5
-rw-r--r--libcrystfel/src/felix.h1
2 files changed, 5 insertions, 1 deletions
diff --git a/libcrystfel/src/felix.c b/libcrystfel/src/felix.c
index e02cfb44..73a1423f 100644
--- a/libcrystfel/src/felix.c
+++ b/libcrystfel/src/felix.c
@@ -658,7 +658,7 @@ void *felix_prepare(IndexingMethod *indm, UnitCell *cell,
gp->orispace_frustum = 1;
gp->orispace_octa = 0;
gp->readhkl_file = NULL;
- gp->maxtime = 30.0;
+ gp->maxtime = 120.0;
gp->tthrange_min = deg2rad(0.0);
gp->tthrange_max = deg2rad(30.0);
@@ -688,6 +688,9 @@ void *felix_prepare(IndexingMethod *indm, UnitCell *cell,
gp->sigma_eta = opts->sigma;
gp->sigma_omega = opts->sigma;
}
+ if (opts->domega > 0.0 ) {
+ gp->domega = opts -> domega;
+ }
return (IndexingPrivate *)gp;
}
diff --git a/libcrystfel/src/felix.h b/libcrystfel/src/felix.h
index 48ffbe9c..4cb9c266 100644
--- a/libcrystfel/src/felix.h
+++ b/libcrystfel/src/felix.h
@@ -46,6 +46,7 @@ struct felix_options
int n_voxels;
double test_fraction;
double sigma;
+ double domega;
};
extern void *felix_prepare(IndexingMethod *indm, UnitCell *cell,