From ffd48c0085f6f7a609079d0a4cfa2dd2a72c1e26 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 27 Sep 2018 16:56:51 +0200 Subject: Write in stream whether crystal was selected as a "hit" or not --- libcrystfel/src/image.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcrystfel/src/image.h') 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; -- cgit v1.2.3