diff options
author | Thomas White <taw@physics.org> | 2011-01-24 18:04:38 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:11 +0100 |
commit | 384bf68d6946a62ebc33f632b924869fcb4e2e43 (patch) | |
tree | fea68b782a5091c41244898ed02326d389632679 | |
parent | 0fbd26c1b9f998fba172d14487e2b26d10d13b81 (diff) |
Get normalisation right
-rw-r--r-- | src/hrs-scaling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index 052d91c5..86a5ffab 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -331,7 +331,7 @@ static void normalise_osfs(struct image *images, int n) mean = tot / (double)n; for ( m=0; m<n; m++ ) { - images[m].osf /= mean; + images[m].osf -= (mean-1.0); } } |