aboutsummaryrefslogtreecommitdiff
path: root/src/intensities.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intensities.c')
-rw-r--r--src/intensities.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/intensities.c b/src/intensities.c
index a2ef301..dca25c9 100644
--- a/src/intensities.c
+++ b/src/intensities.c
@@ -125,8 +125,18 @@ void intensities_extract(ControlContext *ctx) {
/* Normalise all reflections to the most intense reflection */
reflection = ctx->integrated->reflections;
while ( reflection ) {
+
reflection->intensity /= max;
+
+ /* Test mode */
+ // if ( (reflection->h == 0) && (reflection->k == -1) && (reflection->l == 0) ) {
+ // reflection->intensity = 1.0;
+ // } else {
+ // reflection->intensity /= 10;
+ // }
+
reflection = reflection->next;
+
}
printf("IN: %5i intensities measured\n", n_meas);