24 #ifndef LSST_MEAS_MODELFIT_UnitSystem_h_INCLUDED 25 #define LSST_MEAS_MODELFIT_UnitSystem_h_INCLUDED 59 :
wcs(wcs_),
calib(validateCalib(calib_)) {}
64 :
wcs(exposure.getWcs()),
calib(validateCalib(exposure.getCalib())) {}
100 #endif // !LSST_MEAS_MODELFIT_UnitSystem_h_INCLUDED UnitSystem(afw::geom::SpherePoint const &position, std::shared_ptr< const lsst::afw::image::Calib > calibIn, double flux)
Construct a "standard" UnitSystem.
boost::shared_ptr< afw::geom::SkyWcs const > wcs
double Scalar
Typedefs to be used for probability and parameter values.
UnitSystem(afw::image::Exposure< T > const &exposure)
Construct a UnitSystem by extracting the Wcs and Calib from an Exposure (implicit) ...
A simple struct that combines a Wcs and a Calib.
boost::shared_ptr< afw::image::Calib const > calib
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.