Telescope#

class prose.Telescope[source]#

Save and store FITS header keywords definition for a given telescope

This is a Python Data Class, so that all attributes described below can be used as keyword-arguments when instantiating a Telescope

Methods

__init__([name, names, keyword_telescope, ...])

date(header)

error(signal, area, sky, exposure[, ...])

from_dict(env)

Load from a dict ensuring that only class attributes are used

from_name(name[, verbose, strict])

from_names(instrument_name, telescope_name)

image_type(header)

load(filename)

Attributes

altitude

altitude of the telescope in meters, default is 2000,

bjd_scale

unit of the value of BJD, default is "utc"

camera_name

name of the telescope camera, default is None

date_string_format

date string format, default is None

dec_unit

unit of the value of keyword_dec, default is "deg"

diameter

diameter of the telescope in centimeters, default is 100

earth_location

gain

detector gain in electrons/ADU, default is 1

hdu

index of the FITS HDU where to find image data, default is 0

jd_scale

unit of the value of JD, default is "utc"

keyword_airmass

FITS header keyword for airmass, default is "AIRMASS"

keyword_bias_images

value of keyword_image_type associated to flat calibration images, default is "bias"

keyword_bjd

FITS header keyword for barycentric julian day, default is "BJD"

keyword_dark_images

value of keyword_image_type associated to dark calibration images, Default is "dark"

keyword_dec

FITS header keyword for declination, default is "DEC"

keyword_exposure_time

FITS header keyword for exposure time, default is "EXPTIME"

keyword_filter

FITS header keyword for filter, default is "FILTER"

keyword_flat_images

value of keyword_image_type associated to flat calibration images, default is "flat"

keyword_flip

FITS header keyword for meridian flip configuration, default is "PIERSIDE"

keyword_fwhm

FITS header keyword for image full-width-half-maximum (fwhm), default is "FWHM"

keyword_image_type

FITS header keyword for image type (e.g.

keyword_jd

FITS header keyword for julian day, default is "JD"

keyword_light_images

value of keyword_image_type associated to science (aka light) images, default is "light"

keyword_object

FITS header keyword for observed object name, default is "OBJECT"

keyword_observation_date

FITS header keyword for observation date, default is "DATE:code:-OBS"

keyword_ra

FITS header keyword for right ascension, default is "RA"

keyword_seeing

FITS header keyword for image seeing, default is "SEEING"

keyword_telescope

FITS header keyword for telescope name, default is "TELESCOP"

latlong

latitude and longitude of the telescope, default is (None, None)

mjd

value to subtract from the value of keyword_jd

name

Name taken by the telescope if saved

names

Alternative names that the telescope may take in the fits header values of keyword_telescope

pixel_scale

pixel scale (or plate scale) of the detector in arcsec/pixel, default is None

ra_unit

unit of the value of keyword_ra, default is "deg"

read_noise

detector read noise in ADU, default is 9

saturation

detector's pixels full depth (saturation) in ADU, default is 55000

save

trimming

horizontal and vertical overscan of an image in pixels, default is (0, 0)