aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-10-27 20:02:59 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:04 +0100
commit533c10431f319c5cc943e49e4cefe58e8ce6c2cf (patch)
treefeae83731545f90d9a0b0105ba0a333e9815726c /src/image.h
parentf47803a3d004131493b20f9a3a3b5d9cccdaaf2a (diff)
facetron: Work on geometry
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/image.h b/src/image.h
index 0f6db034..f6cb8a58 100644
--- a/src/image.h
+++ b/src/image.h
@@ -53,11 +53,21 @@ typedef struct _imagefeaturelist ImageFeatureList;
/* This structure represents a predicted peak in an image */
-struct cpeak {
+struct cpeak
+{
+ /* Indices */
signed int h;
signed int k;
signed int l;
+
double min_distance;
+
+ /* Partiality */
+ double r1;
+ double r2;
+ double p;
+
+ /* Location in image */
int x;
int y;
};
@@ -73,7 +83,7 @@ struct image {
UnitCell *candidate_cells[MAX_CELL_CANDIDATES];
int ncells;
struct detector *det;
- struct beam_params *beam;
+ struct beam_params *beam; /* The nominal beam parameters */
char *filename;
struct cpeak *cpeaks;
int n_cpeaks;
@@ -86,7 +96,7 @@ struct image {
double m; /* Mosaicity in radians */
- /* Information about the radiation */
+ /* Per-shot radiation values */
double lambda; /* Wavelength in m */
double div; /* Divergence in radians */
double bw; /* Bandwidth as a fraction */