diff options
author | Thomas White <taw@physics.org> | 2015-03-12 18:28:47 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-03-12 18:29:36 +0100 |
commit | 9d24d9e4329389efbbdd33da95010005ba9ea585 (patch) | |
tree | f138ee1b0bb7a232fb0cb3770f6f94ab8d6094de | |
parent | 7afbfb0e9e996e960ccf42c47f1096b33b1bcbf7 (diff) |
Remove weighting
This reverts the previous commit. Obviously, if the sigma(I) value is
negative, stuff goes wrong. Need a better weighting scheme here.
-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 d7db1067..d5f93a3c 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -168,7 +168,7 @@ static void run_scale_job(void *vwargs, int cookie) x[n] = res*res; y[n] = log(Ihl/Ih); - w[n] = log(get_esd_intensity(refl)*corr); + w[n] = 1.0; n++; } |