Shot Noise#
The addition of shot noise to each sub-exposures is managed by AddShotNoise.
This functionality can be enabled in the channel configuration file as
<channel> channel
<detector>
<shot_noise> True </shot_noise>
<detector>
</channel>
or disabled by setting the shot_noise keyword to False
This Task replace the values of each pixel with random number distributed around its true value according to a Poisson distribution.
\[S_{meas} = \mathcal{P}(S_{true})\]
Where \(S_{meas}\) is the new value, which represents the measured value, and \(S_{true}\) is the true pixel count value, which also is the original one.
Note
For reproducibility, the seed for the random generator can be set as described in Random seed and Random generators. Remember that in the case of multiple chunks used, the random seed used in any chunk is stored in the output file for reproducibility.