aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-05-26 18:51:23 +0200
committerThomas White <taw@physics.org>2010-05-26 18:51:23 +0200
commit8941c1ba4ba4bc4ed00b41db371fb9d75ac137ca (patch)
tree6e33386eee5bd51ec52dd533e8af26234b48d277 /src/image.h
parent2ea2488a3752ccb12bae10ae5bf8446f2f3f99f3 (diff)
Add peak sanity check
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/image.h b/src/image.h
index 0479debc..85265028 100644
--- a/src/image.h
+++ b/src/image.h
@@ -67,6 +67,16 @@ struct rvec
};
+struct reflhit {
+ signed int h;
+ signed int k;
+ signed int l;
+ double min_distance;
+ int x;
+ int y;
+};
+
+
/* Structure describing an image */
struct image {
@@ -77,6 +87,8 @@ struct image {
int ncells;
struct detector det;
const char *filename;
+ struct reflhit *hits;
+ int n_hits;
int id;