diff options
-rw-r--r-- | src/detector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detector.c b/src/detector.c index a55d6fcc..23378e90 100644 --- a/src/detector.c +++ b/src/detector.c @@ -194,7 +194,7 @@ void record_image(struct image *image) counts = intensity * ph_per_e * sa; //printf("%e counts\n", counts); - counts += poisson_noise(counts); + counts = poisson_noise(counts); image->hdr[x + image->width*y] = counts; |