- darkmappy.noise_simulations.Gaussian_noise_plane(x, gals_pix, sigma_e, mask=None)
Adds realistic noise based on observational ngal.
- Parameters
x (np.ndarray) – Clean simulated data.
mask (int array) – Sky mask map
gals_pix (float) – Number of observations per pixel
sigma_e (float) – Intrinsic ellipticity dispersion.
- darkmappy.noise_simulations.Gaussian_noise_sphere(x, L, ngal, sigma_e, mask=None)
Adds realistic noise based on observational ngal.
- Parameters
x (np.ndarray) – Clean simulated data.
mask (int array) – Sky mask map
L (int) – Angular bandlimit.
ngal (float) – Number density of galaxy observations to simulate.
sigma_e (float) – Intrinsic ellipticity dispersion.
- Raises
ValueError – Input shape incorrect.
- darkmappy.noise_simulations.simulate_shear_plane(x, sidelength, ngal=30, sigma_e=0.37, mask=None, supersample=1)
Creates a realistic simulation of shear observations from input convergence.
- Parameters
x (np.ndarray) – Input convergence map
mask (int array) – Input convergence mask map
sidelength (int) – Angular span of axes.
ngal (float) – Number density of galaxy observations to simulate.
sigma_e (float) – Intrinsic ellipticity dispersion.
- darkmappy.noise_simulations.simulate_shear_sphere(x, L, ngal=30, sigma_e=0.37, mask=None)
Creates a realistic simulation of shear observations from input convergence.
- Parameters
x (np.ndarray) – Input convergence map
mask (int array) – Input convergence mask map
L (int) – Angular bandlimit.
ngal (float) – Number density of galaxy observations to simulate.
sigma_e (float) – Intrinsic ellipticity dispersion.
- Raises
ValueError – Input shape incorrect.