24#ifndef LSST_MEAS_MODELFIT_UnitSystem_h_INCLUDED
25#define LSST_MEAS_MODELFIT_UnitSystem_h_INCLUDED
65 :
wcs(exposure.getWcs()),
photoCalib(validatePhotoCalib(exposure.getPhotoCalib())) {}
double Scalar
Typedefs to be used for probability and parameter values.
A simple struct that combines a Wcs and a PhotoCalib.
std::shared_ptr< afw::geom::SkyWcs const > wcs
UnitSystem(geom::SpherePoint const &position, Scalar mag)
std::shared_ptr< afw::image::PhotoCalib const > photoCalib
UnitSystem(std::shared_ptr< afw::geom::SkyWcs const > wcs_, std::shared_ptr< afw::image::PhotoCalib const > photoCalib)
Construct a UnitSystem from a given Wcs and PhotoCalib.
UnitSystem(afw::image::Exposure< T > const &exposure)
Construct a UnitSystem by extracting the Wcs and PhotoCalib from an Exposure (implicit)
UnitSystem(geom::SpherePoint const &position, std::shared_ptr< const afw::image::PhotoCalib > photoCalib, double flux)
Construct a "standard" UnitSystem.