aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src')
-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,