aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-06-06 10:39:19 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:27 +0100
commit67699a741fb840a4e11d743781a323d151856516 (patch)
tree6002e90f284b97a8cc974b479da5a9ecf5684015 /src
parentacf2a729772050849cff0f2e1bba8bfa64096a05 (diff)
Fussiness
Diffstat (limited to 'src')
-rw-r--r--src/peaks.c5
1 files changed, 2 insertions, 3 deletions
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);
}