aboutsummaryrefslogtreecommitdiff
path: root/src/gui_project.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-10-26 15:06:25 +0100
committerThomas White <taw@physics.org>2020-10-26 15:08:30 +0100
commit6819e268a8401fec0001812e7612909b3211fab1 (patch)
treeb1a8e4fc204acf96d3345c1f4524bc96c4c3140c /src/gui_project.c
parent6472ff2d8e5b08f1da978ba8413eca556f3d57b6 (diff)
Fix tolerance units in GUI
Diffstat (limited to 'src/gui_project.c')
-rw-r--r--src/gui_project.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui_project.c b/src/gui_project.c
index 83d9f083..f0bb2b38 100644
--- a/src/gui_project.c
+++ b/src/gui_project.c
@@ -731,12 +731,12 @@ void default_project(struct crystfelproject *proj)
proj->indexing_params.no_retry = 0;
proj->indexing_params.no_peak_check = 0;
proj->indexing_params.no_cell_check = 0;
- proj->indexing_params.tols[0] = 5.0;
- proj->indexing_params.tols[1] = 5.0;
- proj->indexing_params.tols[2] = 5.0;
- proj->indexing_params.tols[3] = deg2rad(1.5);
- proj->indexing_params.tols[4] = deg2rad(1.5);
- proj->indexing_params.tols[5] = deg2rad(1.5);
+ proj->indexing_params.tols[0] = 0.05; /* frac (not %) */
+ proj->indexing_params.tols[1] = 0.05; /* frac (not %) */
+ proj->indexing_params.tols[2] = 0.05; /* frac (not %) */
+ proj->indexing_params.tols[3] = deg2rad(1.5); /* rad */
+ proj->indexing_params.tols[4] = deg2rad(1.5); /* rad */
+ proj->indexing_params.tols[5] = deg2rad(1.5); /* rad */
proj->indexing_params.min_peaks = 0;
proj->indexing_params.integration_method = strdup("rings");
proj->indexing_params.overpredict = 0;