lsst.meas.modelfit  15.0-3-g150fc43+8
Public Member Functions | Public Attributes | List of all members
lsst::meas::modelfit::LocalUnitTransform Struct Reference

A local mapping between two UnitSystems. More...

#include <UnitSystem.h>

Public Member Functions

 LocalUnitTransform (afw::geom::Point2D const &sourcePixel, UnitSystem const &source, UnitSystem const &destination)
 
 LocalUnitTransform ()
 Construct an identity transform for both geometry and flux. More...
 

Public Attributes

afw::geom::AffineTransform geometric
 Maps source pixel coordinates to destination pixel coordinates. More...
 
double flux
 Multiply source fluxes by this to get destination fluxes. More...
 
double sb
 Multiply source surface brightnesses by this to get destination surface brightnesses. More...
 

Detailed Description

A local mapping between two UnitSystems.

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

Definition at line 79 of file UnitSystem.h.

Constructor & Destructor Documentation

◆ LocalUnitTransform() [1/2]

lsst::meas::modelfit::LocalUnitTransform::LocalUnitTransform ( afw::geom::Point2D const &  sourcePixel,
UnitSystem const &  source,
UnitSystem const &  destination 
)

◆ LocalUnitTransform() [2/2]

lsst::meas::modelfit::LocalUnitTransform::LocalUnitTransform ( )
inline

Construct an identity transform for both geometry and flux.

Definition at line 93 of file UnitSystem.h.

Member Data Documentation

◆ flux

double lsst::meas::modelfit::LocalUnitTransform::flux

Multiply source fluxes by this to get destination fluxes.

Definition at line 84 of file UnitSystem.h.

◆ geometric

afw::geom::AffineTransform lsst::meas::modelfit::LocalUnitTransform::geometric

Maps source pixel coordinates to destination pixel coordinates.

Definition at line 81 of file UnitSystem.h.

◆ sb

double lsst::meas::modelfit::LocalUnitTransform::sb

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

Definition at line 87 of file UnitSystem.h.


The documentation for this struct was generated from the following file: