lsst.meas.modelfit
14.0-3-gda7b0c7+7
|
A simple struct that combines a Wcs and a Calib. More...
#include <UnitSystem.h>
Public Member Functions | |
UnitSystem (afw::coord::IcrsCoord const &position, std::shared_ptr< const lsst::afw::image::Calib > calibIn, double flux) | |
Construct a "standard" UnitSystem. More... | |
UnitSystem (afw::coord::IcrsCoord 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 40 of file UnitSystem.h.
lsst::meas::modelfit::UnitSystem::UnitSystem | ( | afw::coord::IcrsCoord 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::coord::IcrsCoord const & | position, |
Scalar | mag | ||
) |
|
inline |
Construct a UnitSystem from a give Wcs and Calib.
Definition at line 56 of file UnitSystem.h.
|
inline |
Construct a UnitSystem by extracting the Wcs and Calib from an Exposure (implicit)
Definition at line 62 of file UnitSystem.h.
boost::shared_ptr< afw::image::Calib const > lsst::meas::modelfit::UnitSystem::calib |
Definition at line 42 of file UnitSystem.h.
boost::shared_ptr< afw::geom::SkyWcs const > lsst::meas::modelfit::UnitSystem::wcs |
Definition at line 41 of file UnitSystem.h.