diff options
author | Thomas White <taw@physics.org> | 2009-11-12 18:03:12 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2009-11-12 18:03:12 +0100 |
commit | c9a551b872ae4eb16a606d46a7cf118af24f75f5 (patch) | |
tree | 9c57f03f8acb742186796e0d3a55914b61183c65 /src/image.h | |
parent | 2008d998a48301aef17c6247b17c4c5b92a87fdc (diff) |
Loads of lattice stuff
Diffstat (limited to 'src/image.h')
-rw-r--r-- | src/image.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/image.h b/src/image.h index c596abfe..35bd5da9 100644 --- a/src/image.h +++ b/src/image.h @@ -46,10 +46,22 @@ struct imagefeature { /* An opaque type representing a list of image features */ typedef struct _imagefeaturelist ImageFeatureList; + +/* A 3D vector in reciprocal space */ +struct threevec +{ + double u; + double v; + double w; +}; + + /* Structure describing an image */ struct image { uint16_t *data; + double *sfacs; + struct threevec *qvecs; /* Radians. Defines where the pattern lies in reciprocal space */ double tilt; |