aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-11-20 17:55:36 +0100
committerThomas White <taw@physics.org>2009-11-20 17:55:36 +0100
commitf0a9bc268244b4538e909d0b4f2ca84fbf196a90 (patch)
tree18fb21996076041c50bf7e3a39d6d9cad33fa5c6 /src/main.c
parentf7f13c14c8a742888324518f0cb64ce1c99d9d1c (diff)
Experimental values
0.5 x 0.1 micron needles CAMP chamber, CCD furthest back, pnCCD 2 keV X-rays
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index 54876718..b7755ce6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -68,13 +68,13 @@ int main(int argc, char *argv[])
deg2rad(120.0));
/* Define image parameters */
- image.width = 512;
- image.height = 512;
+ image.width = 1024;
+ image.height = 1024;
image.fmode = FORMULATION_CLEN;
- image.x_centre = 255.5;
- image.y_centre = 255.5;
- image.camera_len = 0.2; /* 20 cm */
- image.resolution = 5120; /* 512 pixels in 10 cm */
+ image.x_centre = 512.5;
+ image.y_centre = 512.5;
+ image.camera_len = 0.2; /* 20 cm (can move from 5cm-20cm) */
+ image.resolution = 13333.3; /* 75 micron pixel size */
image.xray_energy = eV_to_J(2.0e3); /* 2 keV energy */
image.lambda = ph_en_to_lambda(image.xray_energy); /* Wavelength */
image.molecule = NULL;