coolest.template.classes.observation#

Classes#

Observation

Defines the observation itself, that is the image pixels,

Module Contents#

class Observation(pixels: coolest.template.classes.grid.PixelatedRegularGrid = None, exposure_time: float | coolest.template.classes.grid.PixelatedRegularGrid = None, noise: coolest.template.classes.noise.Noise = None, mag_zero_point: float = None, mag_sky_brightness: float = None)[source]#

Defines the observation itself, that is the image pixels, the exposure time, the noise model and/or properties, the magnitude zero-point and sky brightness.

Parameters:
  • pixels (PixelatedRegularGrid, optional) – Regular 2D Grid instance for the observed / mock data pixels, by default None

  • noise (Noise, optional) – Instance of a Noise object associated with the modeling of the data pixels, by default None

  • mag_zero_point (float, optional) – Zero-point magnitude, which corresponds to the 1 electron per second hitting the detector (given in mag), by default None

  • mag_sky_brightness (float, optional) – Magnitude due to sky brightness (given in mag per arcsec^2), by default None

pixels = None[source]#
exposure_time = None[source]#
mag_zero_point = None[source]#
mag_sky_brightness = None[source]#
noise = None[source]#
check_consistency_with_instrument(instrument)[source]#

Checks that the data image is consistent with instrument properties