aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.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/diffraction.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/diffraction.c')
-rw-r--r--src/diffraction.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/diffraction.c b/src/diffraction.c
index d1cc266c..d8ffd108 100644
--- a/src/diffraction.c
+++ b/src/diffraction.c
@@ -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;