aboutsummaryrefslogtreecommitdiff
path: root/src/geometry.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-01-26 14:03:46 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:12 +0100
commit329134c42a76339438e4189e2cde05895e17ab62 (patch)
treec29c2a60c2a7bce0567e68a90d5a3c6fdd6eb9a0 /src/geometry.c
parent5bc6000049c4df955568a7ee2732a365afbe8246 (diff)
Remove solid angle correction
It's never correct when using "bucket" integration, and always correct when using "pixel" integration, so don't give the option.
Diffstat (limited to 'src/geometry.c')
-rw-r--r--src/geometry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geometry.c b/src/geometry.c
index 821aff2f..9bb41d12 100644
--- a/src/geometry.c
+++ b/src/geometry.c
@@ -283,7 +283,7 @@ double integrate_all(struct image *image, struct cpeak *cpeaks, int n)
float x, y, intensity;
if ( integrate_peak(image, cpeaks[i].x, cpeaks[i].y, &x, &y,
- &intensity, NULL, NULL, 0, 0, 0) ) continue;
+ &intensity, NULL, NULL, 0, 0) ) continue;
itot += intensity;
}