diff options
-rw-r--r-- | libcrystfel/src/integration.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index 8c5347cb..9a702a7b 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -339,6 +339,7 @@ static void show_peak_box(struct intcontext *ic, struct peak_box *bx) { #ifdef HAVE_CURSES_COLOR int q; + signed int h, k, l; initscr(); clear(); @@ -347,6 +348,9 @@ static void show_peak_box(struct intcontext *ic, struct peak_box *bx) init_pair(2, COLOR_WHITE, COLOR_RED); /* Peak */ init_pair(3, COLOR_BLACK, COLOR_CYAN); /* Blackhole */ + get_indices(bx->refl, &h, &k, &l); + printw("Indices %i %i %i\n\n", h, k, l); + printw("Pixel values:\n"); for ( q=ic->w-1; q>=0; q-- ) { @@ -381,7 +385,7 @@ static void show_peak_box(struct intcontext *ic, struct peak_box *bx) } if ( ic->meth & INTEGRATION_PROF2D ) { - printw("\nReference profile number %i, ", bx->rp); + printw("\n"); show_reference_profile(ic, bx->rp); } |