imaging#

Module containing methods and classes for generating simulated observations

Functions

get_arc_pixels(source_grid, ...[, ...])

Returns the list of pixels on the image plane that fall within the source image when traced back to the source plane.

get_traced_luminosities(source_image, ...[, ...])

Lenses the given source image and returns a 2d array of luminosity values corresponding to pixels on the image plane.

get_traced_pixels(source_grid, ...[, ...])

Returns a list of polygons on the source plane corresponding to pixels on the image plane.

nonempty_pixel_indices(traced_pixel_corners, ...)

Returns a list of pixel indices on the image plane corresponding to pixels that fall within the source image when traced back to the source plane.

traced_luminosities_from_stars(x_viewed, ...)

Lenses the given source galaxy directly from particle data and returns a 2d array of luminosity values corresponding to pixels on the image plane.

Classes

Detector(resolution, fov, center, psf_fwhm)

Class representing a detector.

Observation(detector, lens, galaxy)

Class representing an observation of a lensed galaxy using a detector