coolest.template.classes.noise#

Classes#

Noise

Generic class for characterizing the noise of an Observation.

UniformGaussianNoise

Uniform gaussian noise given a standard deviation and zero mean.

NoiseMap

Noise characterized by a noise map, which contains diagonal elements of the data covariance matrix.

NoiseRealization

A single realization of the noise.

InstrumentalNoise

Noise properties are computed directly based on the observed

DrizzledNoise

Provide an exposure map as output by e.g., astrodrizzle with HST images (typically with '_wht' prefix).

Module Contents#

class Noise(ntype: str = None, **kwargs)[source]#

Generic class for characterizing the noise of an Observation. Supported noise types correspond to the specific classes defined in this module.

Parameters:

ntype (str, optional) – Noise type, as the name of the corresponding class, by default None

type = None[source]#
class UniformGaussianNoise(std_dev: float = 0.0)[source]#

Uniform gaussian noise given a standard deviation and zero mean.

Parameters:

std_dev (float, optional) – Standard deviation (RMS value, since mean = 0), by default 0.

class NoiseMap(noise_map: coolest.template.classes.grid.PixelatedRegularGrid = None)[source]#

Noise characterized by a noise map, which contains diagonal elements of the data covariance matrix.

Parameters:

noise_map (PixelatedRegularGrid, optional) – Regular 2D Grid instance for the standard deviation of the noise per pixel, by default None

class NoiseRealization(noise_realization: coolest.template.classes.grid.PixelatedRegularGrid = None)[source]#

A single realization of the noise.

Parameters:

noise_realization (PixelatedRegularGrid, optional) – Regular 2D Grid instance for the noise value per pixel, by default None

class InstrumentalNoise(with_readout_noise: bool = True, with_sky_shot_noise: bool = True, with_target_shot_noise: bool = True)[source]#

Noise properties are computed directly based on the observed or modeled flux, and on the Instrument (e.g., readout noise) and Observation (e.g., exposure time, sky brightness, etc.) properties.

Parameters:
  • with_readout_noise (bool, optional) – If True, the noise includes readout noise from the detector, by default True

  • with_sky_shot_noise (bool, optional) – If True, the noise includes shot noise from sky background flux (as the Gaussian approximation of the Poisson noise), by default True

  • with_target_shot_noise (bool, optional) – If True, the noise includes shot noise from the target flux (as the Gaussian approximation of the Poisson noise), by default True

class DrizzledNoise(background_rms: float = 0.0, wht_map: coolest.template.classes.grid.PixelatedRegularGrid = None)[source]#

Provide an exposure map as output by e.g., astrodrizzle with HST images (typically with ‘_wht’ prefix).

Parameters:
  • background_rms (float, optional) – Noise standard deviation (RMS value, since mean = 0), by default 0.0

  • wht_map (PixelatedRegularGrid, optional) – Regular 2D Grid instance for the effective exposure time per pixel, by default None