aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-12-03 18:21:22 +0000
committertaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-12-03 18:21:22 +0000
commitc8e7b88c56dffb7526f2e0930dff1d2cb1d01414 (patch)
treec76a096587cb8fa76e6e11c2c1c3ef5bb7f1548f
parente7191f3e7b22130b7dce2de3ee01cd160ad796ff (diff)
Trivial changes
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@219 bf6ca9ba-c028-0410-8290-897cf20841d1
-rw-r--r--src/reflections.c6
-rw-r--r--src/reproject.c1
2 files changed, 4 insertions, 3 deletions
diff --git a/src/reflections.c b/src/reflections.c
index b8d2fa1..8d6b2e5 100644
--- a/src/reflections.c
+++ b/src/reflections.c
@@ -242,13 +242,13 @@ ReflectionList *reflection_list_from_cell(Basis *basis) {
if ( ( x*x + y*y + z*z ) <= max_res*max_res ) {
Reflection *ref;
- ref = reflection_add(ordered, x, y, z, 1, REFLECTION_GENERATED);
+ ref = reflection_add(ordered, x, y, z, 1.0, REFLECTION_GENERATED);
if ( ref ) { /* Check it's not NULL */
ref->h = h; ref->k = k; ref->l = l;
}
if ( (h!=0) || (k!=0) || (l!=0) ) {
- // reflection_add(ctx->reflectionlist, x, y, z, 1, REFLECTION_GENERATED);
- reflection_add(ordered, x, y, z, 1, REFLECTION_GENERATED);
+ // reflection_add(ctx->reflectionlist, x, y, z, 1.0, REFLECTION_GENERATED);
+ reflection_add(ordered, x, y, z, 1.0, REFLECTION_GENERATED);
}
}
diff --git a/src/reproject.c b/src/reproject.c
index dc19e9a..31fe00c 100644
--- a/src/reproject.c
+++ b/src/reproject.c
@@ -185,6 +185,7 @@ ImageFeatureList *reproject_get_reflections(ImageRecord *image, ReflectionList *
/* Record the reflection */
image_add_feature_reflection(flist, x, y, image, reflection->intensity, reflection);
+ /* TODO: Intensity needs to be multiplied by relrod spike function */
//printf("Reflection at %f, %f\n", x, y);