aboutsummaryrefslogtreecommitdiff
path: root/src/intensities.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-08 14:36:45 +0100
committerThomas White <taw@physics.org>2010-02-08 14:36:45 +0100
commit48fa0eb07746e844b94374eaba6db549e33fc8c9 (patch)
tree0979d952dc30b448a1d083bd015988f1f6923970 /src/intensities.c
parent70117260442534672d61abfcffda876fa34925f5 (diff)
Add bandwidth calculation
Diffstat (limited to 'src/intensities.c')
-rw-r--r--src/intensities.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intensities.c b/src/intensities.c
index 8b5f51c5..4ec496c3 100644
--- a/src/intensities.c
+++ b/src/intensities.c
@@ -73,7 +73,7 @@ void output_intensities(struct image *image, UnitCell *cell)
int found = 0;
int j;
- q = get_q(image, x, y, 1, NULL);
+ q = get_q(image, x, y, 1, NULL, 1.0/image->lambda);
hd = q.u * ax + q.v * ay + q.w * az;
kd = q.u * bx + q.v * by + q.w * bz;