From bb376563c98cd7348d676c939379c924c5efe040 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 7 Sep 2020 15:54:19 +0200 Subject: Show cell parameters after "Index this frame" --- src/gui_index.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/gui_index.c') diff --git a/src/gui_index.c b/src/gui_index.c index b8e1aa7e..d0790e4c 100644 --- a/src/gui_index.c +++ b/src/gui_index.c @@ -473,6 +473,18 @@ static void run_indexing_once(struct crystfelproject *proj) proj->indexing_params.overpredict); cleanup_indexing(ipriv); + + STATUS("Number of crystals: %i\n", + proj->cur_image->n_crystals); + for ( i=0; icur_image->n_crystals; i++ ) { + double a, b, c, al, be, ga; + cell_get_parameters(crystal_get_cell(proj->cur_image->crystals[i]), + &a, &b, &c, &al, &be, &ga); + STATUS(" %2i: %.2f %.2f %.2f A, %.2f %.2f %.2f deg\n", + i, a*1e10, b*1e10, c*1e10, + rad2deg(al), rad2deg(be), rad2deg(ga)); + } + } -- cgit v1.2.3