scopesim.optics.fov

scopesim.optics.fov#

Defines FieldOfView class.

Functions

extract_range_from_spectrum(spectrum, waverange)

replace_nans(field, cmds)

Replace NaN values in image field.

Classes

FieldOfView(header, waverange[, ...])

A FOV is spectro-spatial volume cut out of a Source object.

FieldOfView1D(header, waverange[, ...])

For inkoherent MOS instruments, output 1D spectrum.

FieldOfView2D(header, waverange[, ...])

For imaging, output 2D image.

FieldOfView3D(header, waverange[, ...])

For spectroscopy, output 3D datacube (wave, x, y).