24 #ifndef LSST_MEAS_MODELFIT_UnitSystem_h_INCLUDED 25 #define LSST_MEAS_MODELFIT_UnitSystem_h_INCLUDED 60 : wcs(wcs_), photoCalib(validatePhotoCalib(photoCalib)) {}
65 : wcs(exposure.getWcs()), photoCalib(validatePhotoCalib(exposure.getCalib())) {}
101 #endif // !LSST_MEAS_MODELFIT_UnitSystem_h_INCLUDED
A class to contain the data, WCS, and other information needed to describe an image of the sky...
UnitSystem(afw::geom::SpherePoint const &position, std::shared_ptr< const afw::image::PhotoCalib > photoCalib, double flux)
Construct a "standard" UnitSystem.
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 PhotoCalib from an Exposure (implicit) ...
A base class for image defects.
A simple struct that combines a Wcs and a PhotoCalib.
const char * source()
Source function that allows astChannel to source from a Stream.
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.
std::shared_ptr< afw::geom::SkyWcs const > wcs
Point in an unspecified spherical coordinate system.
std::shared_ptr< afw::image::PhotoCalib const > photoCalib
Implementation of the Photometric Calibration class.