lsst.meas.modelfit
15.0-3-g150fc43+8
|
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 |
A simple struct that combines a Wcs and a Calib.
Definition at line 42 of file UnitSystem.h.
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.
lsst::meas::modelfit::UnitSystem::UnitSystem | ( | afw::geom::SpherePoint const & | position, |
Scalar | mag | ||
) |
|
inline |
Construct a UnitSystem from a give Wcs and Calib.
Definition at line 58 of file UnitSystem.h.
|
inline |
Construct a UnitSystem by extracting the Wcs and Calib from an Exposure (implicit)
Definition at line 63 of file UnitSystem.h.
boost::shared_ptr< afw::image::Calib const > lsst::meas::modelfit::UnitSystem::calib |
Definition at line 44 of file UnitSystem.h.
boost::shared_ptr< afw::geom::SkyWcs const > lsst::meas::modelfit::UnitSystem::wcs |
Definition at line 43 of file UnitSystem.h.