24 #ifndef LSST_AFW_IMAGE_ExposureInfo_h_INCLUDED
25 #define LSST_AFW_IMAGE_ExposureInfo_h_INCLUDED
34 namespace lsst {
namespace afw {
36 namespace cameraGeom {
44 namespace geom {
namespace polygon {
212 template <
typename ImageT,
typename MaskT,
typename VarianceT>
friend class Exposure;
267 fits::Fits & fitsfile,
289 #endif // !LSST_AFW_IMAGE_ExposureInfo_h_INCLUDED
void setDetector(boost::shared_ptr< cameraGeom::Detector const > detector)
Set the exposure's Detector information.
bool hasWcs() const
Does this exposure have a Wcs?
void setWcs(boost::shared_ptr< Wcs const > wcs)
Set the coordinate system of the exposure.
boost::shared_ptr< daf::base::PropertyList > varianceMetadata
A coordinate class intended to represent absolute positions.
boost::shared_ptr< CoaddInputs > _coaddInputs
boost::shared_ptr< Wcs > _wcs
bool hasCoaddInputs() const
Does this exposure have coadd provenance catalogs?
bool hasApCorrMap() const
Return true if the exposure has an aperture correction map.
boost::shared_ptr< Calib > _calib
Class for storing ordered metadata with comments.
A thin wrapper around std::map to allow aperture corrections to be attached to Exposures.
A class to contain the data, WCS, and other information needed to describe an image of the sky...
static boost::shared_ptr< ApCorrMap > _cloneApCorrMap(boost::shared_ptr< ApCorrMap const > apCorrMap)
table::io::OutputArchive archive
void setPsf(boost::shared_ptr< detection::Psf const > psf)
Set the exposure's point-spread function.
void setValidPolygon(boost::shared_ptr< geom::polygon::Polygon const > polygon)
Set the exposure's valid Polygon.
void setCoaddInputs(boost::shared_ptr< CoaddInputs > coaddInputs)
Set the exposure's coadd provenance catalogs.
Implementation of the WCS standard for a any projection.
boost::shared_ptr< cameraGeom::Detector const > getDetector() const
Return the exposure's Detector information.
boost::shared_ptr< daf::base::PropertySet > getMetadata() const
Return flexible metadata.
boost::shared_ptr< daf::base::PropertyList > imageMetadata
boost::shared_ptr< daf::base::PropertySet > _metadata
boost::shared_ptr< daf::base::PropertyList > maskMetadata
table::Key< table::Array< Kernel::Pixel > > image
boost::shared_ptr< geom::polygon::Polygon const > _validPolygon
bool hasPsf() const
Does this exposure have a Psf?
void setFilter(Filter const &filter)
Set the exposure's filter.
boost::shared_ptr< Calib > getCalib()
Return the exposure's photometric calibration.
void setMetadata(boost::shared_ptr< daf::base::PropertySet > metadata)
Set the flexible metadata.
ExposureInfo & operator=(ExposureInfo const &other)
Assignment; deep-copies all components except the metadata.
A struct passed back and forth between Exposure and ExposureInfo when writing FITS files...
boost::shared_ptr< Wcs > getWcs()
Return the coordinate system of the exposure.
boost::shared_ptr< daf::base::PropertyList > metadata
void _readFits(fits::Fits &fitsfile, boost::shared_ptr< daf::base::PropertySet > metadata, boost::shared_ptr< daf::base::PropertySet > imageMetadata)
Read from a FITS file and metadata.
void setCalib(boost::shared_ptr< Calib const > calib)
Set the Exposure's Calib object.
bool hasValidPolygon() const
Does this exposure have a valid Polygon.
Holds an integer identifier for an LSST filter.
boost::shared_ptr< cameraGeom::Detector const > _detector
static boost::shared_ptr< Wcs > _cloneWcs(boost::shared_ptr< Wcs const > wcs)
boost::shared_ptr< geom::polygon::Polygon const > getValidPolygon() const
Return the valid Polygon.
void setApCorrMap(boost::shared_ptr< ApCorrMap > apCorrMap)
Set the exposure's aperture correction map (null pointer if !hasApCorrMap())
boost::shared_ptr< detection::Psf > getPsf() const
Return the exposure's point-spread function.
boost::shared_ptr< CoaddInputs > getCoaddInputs() const
Return a pair of catalogs that record the inputs, if this Exposure is a coadd (otherwise null)...
Class for storing generic metadata.
ExposureInfo(boost::shared_ptr< Wcs const > const &wcs=boost::shared_ptr< Wcs const >(), boost::shared_ptr< detection::Psf const > const &psf=boost::shared_ptr< detection::Psf const >(), boost::shared_ptr< Calib const > const &calib=boost::shared_ptr< Calib const >(), boost::shared_ptr< cameraGeom::Detector const > const &detector=boost::shared_ptr< cameraGeom::Detector const >(), boost::shared_ptr< geom::polygon::Polygon const > const &polygon=boost::shared_ptr< geom::polygon::Polygon const >(), Filter const &filter=Filter(), boost::shared_ptr< daf::base::PropertySet > const &metadata=boost::shared_ptr< daf::base::PropertySet >(), boost::shared_ptr< CoaddInputs > const &coaddInputs=boost::shared_ptr< CoaddInputs >(), boost::shared_ptr< ApCorrMap > const &apCorrMap=boost::shared_ptr< ApCorrMap >())
Construct an ExposureInfo from its various components.
bool hasCalib() const
Does this exposure have a Calib?
FitsWriteData _startWriteFits(geom::Point2I const &xy0=geom::Point2I()) const
Start the process of writing an exposure to FITS.
static boost::shared_ptr< Calib > _cloneCalib(boost::shared_ptr< Calib const > calib)
boost::shared_ptr< ApCorrMap > _apCorrMap
A collection of all the things that make an Exposure different from a MaskedImage.
A polymorphic base class for representing an image's Point Spread Function.
boost::shared_ptr< detection::Psf > _psf
void _finishWriteFits(fits::Fits &fitsfile, FitsWriteData const &data) const
Write any additional non-image HDUs to a FITS file.
Filter getFilter() const
Return the exposure's filter.
bool hasDetector() const
Does this exposure have Detector information?
boost::shared_ptr< ApCorrMap > getApCorrMap()
Return the exposure's aperture correction map (null pointer if !hasApCorrMap())
Class encapsulating an identifier for an LSST filter.