roman_shear_sims.noise
Functions
|
Add noise to the image based on the Roman characteristics. |
|
Add simple Gaussian noise to the image. |
Module Contents
- make_roman_noise(noise_image, bandpass, exp_time, world_pos, galsim_rng, mjd=None, image_factor=1.0)[source]
Add noise to the image based on the Roman characteristics. This include: - Sky noise (zodial light, thermal background) - Dark current noise - Read noise - Gain
- Parameters:
noise_image (galsim.Image) – The image to which noise will be added.
bandpass (galsim.Bandpass) – The bandpass for which the noise is calculated.
exp_time (float) – The exposure time in seconds.
world_pos (galsim.CelestialCoord) – The celestial coordinates of the image center.
galsim_rng (galsim.BaseDeviate) – The random number generator to use for noise generation.
mjd (float, optional) – The modified Julian date for the observation. Default: None.
image_factor (float, optional) – A factor to scale the noise level. Default: 1.0.
- make_simple_noise(noise_image, sigma, galsim_rng)[source]
Add simple Gaussian noise to the image.
- Parameters:
noise_image (galsim.Image) – The image to which noise will be added.
sigma (float) – The standard deviation of the Gaussian noise.
galsim_rng (galsim.BaseDeviate) – The random number generator to use for noise generation.