aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-09-27 16:56:51 +0200
committerThomas White <taw@physics.org>2018-09-27 16:56:51 +0200
commitffd48c0085f6f7a609079d0a4cfa2dd2a72c1e26 (patch)
treea4c66c10d726e1badb3fa74eb24b57bb82789f0b /libcrystfel/src/image.h
parentb821461fff84478d5f3ee56aa001d2afe31e55b8 (diff)
Write in stream whether crystal was selected as a "hit" or not
Diffstat (limited to 'libcrystfel/src/image.h')
-rw-r--r--libcrystfel/src/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h
index 2909e401..cc1bcc5d 100644
--- a/libcrystfel/src/image.h
+++ b/libcrystfel/src/image.h
@@ -157,6 +157,7 @@ struct beam_params
/**
* image:
+ * @hit: Non-zero if the frame was determined to be a "hit"
* @crystals: Array of crystals in the image
* @n_crystals: The number of crystals in the image
* @indexed_by: Indexing method which indexed this pattern
@@ -203,6 +204,7 @@ struct image {
int **bad; /* Bad pixels by panel */
float **sat; /* Per-pixel saturation values */
+ int hit;
Crystal **crystals;
int n_crystals;
IndexingMethod indexed_by;