diff options
author | Thomas White <taw@physics.org> | 2009-11-13 12:10:12 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2009-11-13 12:10:12 +0100 |
commit | ef6a971cf432321ceb057b8c355c8e6814d5aff6 (patch) | |
tree | 1d8d7373a1b7c1591cf28fcf61230122e19c1ca4 /src/image.h | |
parent | 857cc8c991a5ee4e717d01822da271ae34f5adaa (diff) |
Work in progress on photon correctness
Diffstat (limited to 'src/image.h')
-rw-r--r-- | src/image.h | 5 |
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; |