Commit f0a9bc26 authored by Thomas White's avatar Thomas White
Browse files

Experimental values

0.5 x 0.1 micron needles
CAMP chamber, CCD furthest back, pnCCD
2 keV X-rays
parent f7f13c14
......@@ -44,9 +44,9 @@ static double lattice_factor(struct threevec q, double ax, double ay, double az,
{
struct threevec Udotq;
double f1, f2, f3;
int na = 32;
int nb = 32;
int nc = 32;
int na = 4;
int nb = 4;
int nc = 30;
Udotq.u = (ax*q.u + ay*q.v + az*q.w)/2.0;
Udotq.v = (bx*q.u + by*q.v + bz*q.w)/2.0;
......
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment