ETC module¶
Introduction¶
etc is a module with tools for exposure time calculation.
It allows a user to set up Object, Atmosphere, Telescope, Instrument, and Observation objects, and then use the latter to calculate the flux from an object, an exposure time given a desired S/N, or S/N given an exposure time.
etc works in both a spectral mode, giving S/N per pixel (given a dispersion), and also an imaging mode, in which the spectrum is integrated over.
Usage¶
The user instatiates Object, Atmosphere, Telescope, and Instrument objects.
The Object object specifies a magnitude and SED.
The Atmosphere object specifies a moon phase. Emission spectra are taken from the ESO sky calculator for moon phase (to the closest 0.1).
The Telescope object takes a telescope name or a diameter.
The Instrument object takes an instrument name or a single, wavelength-independent throughput.
These are then passed when an Observation object is instatiated.
Module functions¶
- class pyvista.etc.Atmosphere(name='', transmission=0.8)[source]¶
class representing the Earth’s atmosphere
- class pyvista.etc.Instrument(name='', efficiency=0.8, pixscale=1, dispersion=<Quantity 1. Angstrom>, rn=0)[source]¶
class representing an Instrument
- class pyvista.etc.Mirror(type, const=0.9)[source]¶
class representing a mirror given coating name, provide method for reflectivity
- class pyvista.etc.Object(type='bb', teff=10000, mag=0, refmag='V')[source]¶
Class representing an object Given a type (blackbody or input spectrum) and a magnitude, provides method for Fnu, Flam, photon flux
- class pyvista.etc.Observation(obj=None, atmos=None, telescope=None, instrument=None, wave=<Quantity [3000., 3001., 3002., ..., 9997., 9998., 9999.] Angstrom>, seeing=1, phase=0.0)[source]¶
Object representing an observation