diff options
author | Thomas White <taw@physics.org> | 2015-05-07 17:04:31 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-05-13 13:48:33 +0200 |
commit | 60e31ee55487473e84cd1a8a96ee025c66b73ac5 (patch) | |
tree | b98b2ca88901a957d343f4be2213f8000fba73c7 | |
parent | cf68fc854e148d410bba1540f1738290e6f5313e (diff) |
Weighting scheme for merging
-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 56a8ee16..ac9e4673 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -332,7 +332,7 @@ static void run_merge_job(void *vwargs, int cookie) / get_partiality(refl); esd = get_esd_intensity(refl) * corr; - w = 1.0 / (esd*esd); + w = 1.0 / pow(esd, 0.5); /* Running mean and variance calculation */ temp = w + sumweight; |