diff options
author | Thomas White <taw@physics.org> | 2010-02-26 17:53:44 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-26 17:53:44 +0100 |
commit | a34f668051317f475c64c7aad6143dda76325fd1 (patch) | |
tree | 595a36e4395402f5b8a7d1333e81a7ebae45c199 /src/detector.c | |
parent | c8d022b01819c81489a9d06fe05aaccb7d057a68 (diff) |
Separate DQE and detector gain (to make Poisson noise work)
Diffstat (limited to 'src/detector.c')
-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 7a7f5942..2a4c6d10 100644 --- a/src/detector.c +++ b/src/detector.c @@ -108,7 +108,7 @@ void record_image(struct image *image, int do_poisson) counts = (int)rounded; } - image->data[x + image->width*y] = counts; + image->data[x + image->width*y] = counts * DETECTOR_GAIN; } progress_bar(x, image->width-1, "Post-processing"); |