Pixelizations#

Pixelization#

Groups all of the individual components used to reconstruct a galaxy via a pixelization (an ImageMesh, Mesh and Regularization)

The Pixelization API documentation provides a comprehensive description of how pixelizaiton objects work and their associated API.

It is recommended you read this documentation before using pixelizations.

Pixelization

Pairs a 2D grid of (y,x) coordinates with a 2D mesh, which can be combined with a Regularization scheme in order to reconstruct data via an Inversion.

Image Mesh [ag.image_mesh]#

Overlay

Computes an image-mesh by overlaying a uniform grid of (y,x) coordinates over the masked image that the pixelization is fitting.

Hilbert

Computes an image-mesh by computing the Hilbert curve of the adapt data and drawing points from it.

KMeans

Computes an image-mesh by running a weighted KMeans clustering algorithm.

Mesh [ag.mesh]#

RectangularAdaptDensity

A uniform rectangular mesh of pixels used to reconstruct a source on a regular grid.

Delaunay

A Delaunay mesh composed of irregular triangular pixels used to reconstruct a source on an unstructured grid.

Regularization [ag.reg]#

Constant

Regularization which uses the neighbors of the mesh (e.g. shared Delaunay vertexes) and a single value to smooth an inversion's solution.

ConstantSplit

Regularization which uses the derivatives at a cross of four points around each pixel centre and a single value to smooth an inversion's solution.

Adapt

Regularization which uses the neighbors of the mesh (e.g. shared Delaunay vertexes) and values adaptred to the data being fitted to smooth an inversion's solution.

AdaptSplit

Regularization which uses the derivatives at a cross of four points around each pixel centre and values adapted to the data being fitted to smooth an inversion's solution.

Settings#

Settings

The settings of an Inversion, customizing how a linear set of equations are solved for.

Mapper#

Mapper

To understand a Mapper one must be familiar Mesh objects and the mesh and pixelization packages, where the four grids are explained (image_plane_data_grid, source_plane_data_grid, image_plane_mesh_grid,`source_plane_mesh_grid`)