Struct LocalUnitTransform

Struct Documentation

struct LocalUnitTransform

A local mapping between two UnitSystems.

LocalUnitTransform is “local” because it linearizes the Wcs and evaluates the PhotoCalib transform at a particular predifined point, allowing it to represent the geometric transform as an AffineTransform and the photometric transform as a simple scaling.

Public Functions

LocalUnitTransform(geom::Point2D const &sourcePixel, UnitSystem const &source, UnitSystem const &destination)
LocalUnitTransform()

Construct an identity transform for both geometry and flux.

Public Members

geom::AffineTransform geometric

Maps source pixel coordinates to destination pixel coordinates.

double flux

Multiply source fluxes by this to get destination fluxes.

double sb

Multiply source surface brightnesses by this to get destination surface brightnesses.