Imager

class telescopy.Imager(plate_scale=None, seeing=None, binning=None, quantum_efficiency=None, gain=None)[source]

Bases: object

Container for an imager.

Parameters:
plate_scale : Quantity

Plate scale of detector in units of arcsec (per pixel)

seeing : Quantity

Astronomical seeing at time of observation

binning : int

Pixel binning factor

quantum_efficiency : float

Quantum efficiency of the detector

gain : float

Gain of the detector (e-‘s per ADU)

Methods Summary

counts(telescope, target, exposure_duration, …) Number of ADU detected by the detector.
image(telescope, target, exposure_duration) Generate an image of target observed by telescope.

Methods Documentation

counts(telescope, target, exposure_duration, filter)[source]

Number of ADU detected by the detector.

Parameters:
telescope : Telescope

Telescope object

target : Target

Target object

exposure_duration : Quantity

Exposure duration (s, or compatible unit)

Returns:
total_counts : float

Number of counts estimated in the exposure.

image(telescope, target, exposure_duration, n=20)[source]

Generate an image of target observed by telescope.

Parameters:
telescope : Telescope

Telescope object

target : Target

Target object

exposure_duration : Quantity

Exposure duration (s, or compatible unit)

n : int

Pixel length of a side of the image returned

Returns:
image : ndarray

Simulated image of target.