aboutsummaryrefslogtreecommitdiff
path: root/src/crystfelimageview.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-09-24 13:37:02 +0200
committerThomas White <taw@physics.org>2020-09-24 13:37:02 +0200
commitc82b00b5bbbf684e3bd7a6540181e6d040b8b210 (patch)
tree796ef7a0d61b678bf5a026a83fc21586fb4d96a8 /src/crystfelimageview.c
parent1f5331458c2b5d4ad59a3541724110dad27edd1b (diff)
Show predicted but not integrated reflections in red
Diffstat (limited to 'src/crystfelimageview.c')
-rw-r--r--src/crystfelimageview.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/crystfelimageview.c b/src/crystfelimageview.c
index 3b71f1cd..0117c79b 100644
--- a/src/crystfelimageview.c
+++ b/src/crystfelimageview.c
@@ -477,7 +477,12 @@ static void draw_refls(cairo_t *cr, CrystFELImageView *iv,
cairo_arc(cr, x, y, this_bs, 0, 2*M_PI);
cairo_set_line_width(cr, this_lw);
- cairo_set_source_rgb(cr, 0.0, 1.0, 0.0);
+
+ if ( get_redundancy(refl) == 0 ) {
+ cairo_set_source_rgb(cr, 0.7, 0.0, 0.0);
+ } else {
+ cairo_set_source_rgb(cr, 0.0, 1.0, 0.0);
+ }
cairo_stroke(cr);
if ( show_cen ) {