aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-08-19 15:29:38 +0200
committerThomas White <taw@physics.org>2020-08-19 15:29:38 +0200
commit7d1734f588d48df708247c7a177caa7fce6a035b (patch)
tree2510596e2106c54cf1b7cb3624d605acef7b0b49 /src
parent6c18f52b7ff9d9423384b3ff8dc697f1ddd914c0 (diff)
GUI: Refine the profile radius when indexing once
Diffstat (limited to 'src')
-rw-r--r--src/gui_index.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui_index.c b/src/gui_index.c
index f35fa46b..8215ba8a 100644
--- a/src/gui_index.c
+++ b/src/gui_index.c
@@ -44,6 +44,7 @@
#include <cell.h>
#include <cell-utils.h>
#include <integration.h>
+#include <predict-refine.h>
#include "crystfel_gui.h"
#include "crystfelimageview.h"
@@ -228,6 +229,11 @@ static void run_indexing_once(struct crystfelproject *proj)
for ( i=0; i<proj->cur_image->n_crystals; i++ ) {
crystal_set_profile_radius(proj->cur_image->crystals[i], 0.02e9);
crystal_set_mosaicity(proj->cur_image->crystals[i], 0.0);
+ if ( refine_radius(proj->cur_image->crystals[i],
+ proj->cur_image) )
+ {
+ ERROR("WARNING: Radius determination failed\n");
+ }
}
err = 0;