diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2008-01-09 12:31:45 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2008-01-09 12:31:45 +0000 |
commit | 620c56468a1e26c22afaafe698b09f4cb7b14b61 (patch) | |
tree | f30b4776f179707878b194ed6044dd6b2c9cd99e /src/intensities.c | |
parent | 62ff78887f98ca6f7e4cd0788671ea3c2da60120 (diff) |
Test mode
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@243 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/intensities.c')
-rw-r--r-- | src/intensities.c | 10 |
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); |