aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-11-13 12:10:12 +0100
committerThomas White <taw@physics.org>2009-11-13 12:10:12 +0100
commitef6a971cf432321ceb057b8c355c8e6814d5aff6 (patch)
tree1d8d7373a1b7c1591cf28fcf61230122e19c1ca4 /src/image.h
parent857cc8c991a5ee4e717d01822da271ae34f5adaa (diff)
Work in progress on photon correctness
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/image.h b/src/image.h
index 35bd5da9..d5d5bb9c 100644
--- a/src/image.h
+++ b/src/image.h
@@ -62,6 +62,7 @@ struct image {
uint16_t *data;
double *sfacs;
struct threevec *qvecs;
+ double *phactors;
/* Radians. Defines where the pattern lies in reciprocal space */
double tilt;
@@ -78,7 +79,9 @@ struct image {
double resolution; /* pixels per metre */
/* Wavelength must always be given */
- double lambda;
+ double lambda; /* Wavelength in m */
+ double xray_energy; /* X-ray energy
+ * in J (per photon) */
int width;
int height;