scopesim.optics.OLD_fov module

class scopesim.optics.OLD_fov.FieldOfView(header, waverange, **kwargs)[source]

Bases: FieldOfViewBase

A FOV is a monochromatic image. Flux units after extracting the fields from the Source are in ph/s/pixel

The initial header should contain an on-sky WCS description: - CDELT-, CUNIT-, NAXIS- : for pixel scale and size (assumed CUNIT in deg) - CRVAL-, CRPIX- : for positioning the final image - CTYPE- : is assumed to be “RA—TAN”, “DEC—TAN”

and an image-plane WCS description - CDELT-D, CUNIT-D, NAXISn : for pixel scale and size (assumed CUNIT in mm) - CRVAL-D, CRPIX-D : for positioning the final image - CTYPE-D : is assumed to be “LINEAR”, “LINEAR”

The wavelength range is given by waverange

property corners
property data
extract_from(src)[source]

..assumption: Bandpass has been applied

property header
make_cube()[source]

Create a single cube out of all Source objects

THE CURRENT IMPLEMENTATION IS TEMPORARY AND WORKS FOR A SINGLE CUBE SOURCE ONLY.

make_image()[source]
make_spectrum()[source]
view(sub_pixel=None)[source]
volume(wcs_prefix='')[source]
property wavelength

Returns central wavelength in um

property waverange

Returns wavelength range in um [wave_min, wave_max]