From 67699a741fb840a4e11d743781a323d151856516 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 6 Jun 2011 10:39:19 +0200 Subject: Fussiness --- src/peaks.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/peaks.c') diff --git a/src/peaks.c b/src/peaks.c index 936601a3..2e7e7804 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -260,11 +260,10 @@ int integrate_peak(struct image *image, int cfs, int css, if ( in_bad_region(image->det, *pfs, *pss) ) return 1; - if ( sigma != NULL ) { + if ( sigma != NULL ) { /* First term is standard deviation of background per pixel * sqrt(pixel_counts) - increase of error for integrated value - * sqrt(2) - increase of error for background subtraction - */ + * sqrt(2) - increase of error for background subtraction */ *sigma = sqrt(noise_meansq/noise_counts-(noise_mean*noise_mean)) * sqrt(2.0*pixel_counts); } -- cgit v1.2.3