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

A simple struct that combines a Wcs and a Calib. More...

#include <UnitSystem.h>

Public Member Functions

 UnitSystem (afw::geom::SpherePoint const &position, std::shared_ptr< const lsst::afw::image::Calib > calibIn, double flux)
 Construct a "standard" UnitSystem. More...
 
 UnitSystem (afw::geom::SpherePoint const &position, Scalar mag)
 
 UnitSystem (boost::shared_ptr< afw::geom::SkyWcs const > wcs_, boost::shared_ptr< afw::image::Calib const > calib_)
 Construct a UnitSystem from a give Wcs and Calib. More...
 
template<typename T >
 UnitSystem (afw::image::Exposure< T > const &exposure)
 Construct a UnitSystem by extracting the Wcs and Calib from an Exposure (implicit) More...
 

Public Attributes

boost::shared_ptr< afw::geom::SkyWcs const > wcs
 
boost::shared_ptr< afw::image::Calib const > calib
 

Detailed Description

A simple struct that combines a Wcs and a Calib.

Definition at line 42 of file UnitSystem.h.

Constructor & Destructor Documentation

◆ UnitSystem() [1/4]

lsst::meas::modelfit::UnitSystem::UnitSystem ( afw::geom::SpherePoint const &  position,
std::shared_ptr< const lsst::afw::image::Calib calibIn,
double  flux 
)

Construct a "standard" UnitSystem.

This constructs a UnitSystem with a TAN Wcs centered on the given position, with flux units set such that unit flux is the given magnitude. See Units and Coordinate Systems for an explanation of why we frequently use this system.

◆ UnitSystem() [2/4]

lsst::meas::modelfit::UnitSystem::UnitSystem ( afw::geom::SpherePoint const &  position,
Scalar  mag 
)

◆ UnitSystem() [3/4]

lsst::meas::modelfit::UnitSystem::UnitSystem ( boost::shared_ptr< afw::geom::SkyWcs const >  wcs_,
boost::shared_ptr< afw::image::Calib const >  calib_ 
)
inline

Construct a UnitSystem from a give Wcs and Calib.

Definition at line 58 of file UnitSystem.h.

◆ UnitSystem() [4/4]

template<typename T >
lsst::meas::modelfit::UnitSystem::UnitSystem ( afw::image::Exposure< T > const &  exposure)
inline

Construct a UnitSystem by extracting the Wcs and Calib from an Exposure (implicit)

Definition at line 63 of file UnitSystem.h.

Member Data Documentation

◆ calib

boost::shared_ptr< afw::image::Calib const > lsst::meas::modelfit::UnitSystem::calib

Definition at line 44 of file UnitSystem.h.

◆ wcs

boost::shared_ptr< afw::geom::SkyWcs const > lsst::meas::modelfit::UnitSystem::wcs

Definition at line 43 of file UnitSystem.h.


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