From ef6a971cf432321ceb057b8c355c8e6814d5aff6 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 13 Nov 2009 12:10:12 +0100 Subject: Work in progress on photon correctness --- src/image.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/image.h') 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; -- cgit v1.2.3