Data Structures#

2D Data Structures#

Two-dimensional data structures store and mask 2D arrays containing data (e.g. images) and grids of (y,x) Cartesian coordinates (which are used for evaluating light profiles).

Mask2D

A 2D mask, used for masking values which are associated with a a uniform rectangular grid of pixels.

Array2D

A uniform 2D array of values, which are paired with a 2D mask of pixels which may be split into sub-pixels.

Grid2D

A grid of 2D (y,x) coordinates, which are paired to a uniform 2D mask of pixels and sub-pixels.

Grid2DIterate

Represents a grid of coordinates as described for the Grid2D class, but using an iterative sub-grid that adapts its resolution when it is input into a function that performs an analytic calculation.

Grid2DIrregular

An irregular grid of (y,x) coordinates.

Imaging#

For datasets taken with a CCD (or similar imaging device), including objects which perform 2D convolution.

Imaging

A class containing an imaging dataset, including the image data, noise-map and a point spread function (PSF).

SettingsImaging

The lens dataset is the collection of data_type (image, noise-map, PSF), a mask, grid, convolver and other utilities that are used for modeling and fitting an image of a strong lens.

SimulatorImaging

Simulations observations of imaging data, including simulation of the image, noise-map, PSF, etc.

Kernel2D

An array of values, which are paired to a uniform 2D mask of pixels and sub-pixels.

Convolver

Class to setup the 1D convolution of an / mapping matrix.

Interferometer#

For datasets taken with an interferometer (E.g. ALMA), including objects which perform a fast Fourier transform to map data to the uv-plane.

Interferometer

A class containing an interferometer dataset, including the visibilities data, noise-map and the uv-plane baseline wavelengths.

SettingsInterferometer

The lens dataset is the collection of data_type (image, noise-map), a mask, grid, convolver and other utilities that are used for modeling and fitting an image of a strong lens.

SimulatorInterferometer

A class representing a Imaging observation, using the shape of the image, the pixel scale, psf, exposure time, etc.

Visibilities

A collection of (real, imag) visibilities which are used to represent the data in an Interferometer dataset.

TransformerDFT

TransformerNUFFT

1D Data Structures#

One-dimensional data structures store and mask 1D arrays and grids of (x) Cartesian coordinates.

Their most common use is manipulating 1D representations of a light or mass profile (e.g. computing the intensity versus radius in 1D, or convergene vs radius).

Mask1D

A 1D mask, representing 1D data on a uniform line of pixels with equal spacing.

Array1D

ArrayIrregular

A collection of values which are structured as follows:

Grid1D

A grid of 1D (x) coordinates, which are paired to a uniform 1D mask of pixels and sub-pixels.