scopesim.effects.apertures

scopesim.effects.apertures#

Effects related to field masks, including spectroscopic slits.

Functions

make_aperture_polygon(left, right, top, ...)

mask_from_coords(x, y, pixel_scale)

points_on_a_circle(n[, x0, y0, dx, dy, offset])

rotate(x, y, x0, y0, angle)

Rotate a line by angle [deg] around the point (x0, y0).

Classes

ApertureList(**kwargs)

A list of apertures, useful for IFU or MOS instruments.

ApertureMask(**kwargs)

Only provides the on-sky window coords of the Aperture.

RectangularApertureMask(**kwargs)

SlitWheel(**kwargs)

Selection of predefined spectroscopic slits and possibly other field masks.