aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.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/partialator.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/partialator.c')
-rw-r--r--src/partialator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 7829f933..beef9b6f 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -208,8 +208,7 @@ static void integrate_image(struct image *image, ReflItemList *obs)
* pattern? */
/* FIXME: Coordinates aren't whole numbers */
if ( integrate_peak(image, spots[j].x, spots[j].y,
- &xc, &yc, &i_partial, NULL, NULL,
- 1, 1, 0) ) {
+ &xc, &yc, &i_partial, NULL, NULL, 1, 0) ) {
spots[j].valid = 0;
continue;
}