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 setWcs(boost::shared_ptr< Wcs const > wcs)
Set the coordinate system of the exposure.
boost::shared_ptr< ApCorrMap > _apCorrMap
boost::shared_ptr< detection::Psf > getPsf() const
Return the exposure's point-spread function.
A coordinate class intended to represent absolute positions.
void _finishWriteFits(fits::Fits &fitsfile, FitsWriteData const &data) const
Write any additional non-image HDUs to a FITS file.
boost::shared_ptr< daf::base::PropertyList > imageMetadata
void setCoaddInputs(boost::shared_ptr< CoaddInputs > coaddInputs)
Set the exposure's coadd provenance catalogs.
void setMetadata(boost::shared_ptr< daf::base::PropertySet > metadata)
Set the flexible metadata.
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...
bool hasCalib() const
Does this exposure have a Calib?
static boost::shared_ptr< Wcs > _cloneWcs(boost::shared_ptr< Wcs const > wcs)
bool hasValidPolygon() const
Does this exposure have a valid Polygon.
Implementation of the WCS standard for a any projection.
bool hasCoaddInputs() const
Does this exposure have coadd provenance catalogs?
boost::shared_ptr< cameraGeom::Detector const > getDetector() const
Return the exposure's Detector information.
static boost::shared_ptr< Calib > _cloneCalib(boost::shared_ptr< Calib const > calib)
table::Key< table::Array< Kernel::Pixel > > image
boost::shared_ptr< daf::base::PropertySet > _metadata
ExposureInfo & operator=(ExposureInfo const &other)
Assignment; deep-copies all components except the metadata.
boost::shared_ptr< geom::polygon::Polygon const > getValidPolygon() const
Return the valid Polygon.
A struct passed back and forth between Exposure and ExposureInfo when writing FITS files...
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.
boost::shared_ptr< detection::Psf > _psf
boost::shared_ptr< Wcs > getWcs()
Return the coordinate system of the exposure.
void setFilter(Filter const &filter)
Set the exposure's filter.
void setDetector(boost::shared_ptr< cameraGeom::Detector const > detector)
Set the exposure's Detector information.
boost::shared_ptr< daf::base::PropertyList > maskMetadata
boost::shared_ptr< Wcs > _wcs
boost::shared_ptr< ApCorrMap > getApCorrMap()
Return the exposure's aperture correction map (null pointer if !hasApCorrMap())
Holds an integer identifier for an LSST filter.
boost::shared_ptr< cameraGeom::Detector const > _detector
void setPsf(boost::shared_ptr< detection::Psf const > psf)
Set the exposure's point-spread function.
static boost::shared_ptr< ApCorrMap > _cloneApCorrMap(boost::shared_ptr< ApCorrMap const > apCorrMap)
Filter getFilter() const
Return the exposure's filter.
bool hasPsf() const
Does this exposure have a Psf?
void setCalib(boost::shared_ptr< Calib const > calib)
Set the Exposure's Calib object.
bool hasWcs() const
Does this exposure have a Wcs?
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.
Class for storing generic metadata.
table::io::OutputArchive archive
boost::shared_ptr< daf::base::PropertySet > getMetadata() const
Return flexible metadata.
bool hasApCorrMap() const
Return true if the exposure has an aperture correction map.
boost::shared_ptr< Calib > _calib
void setApCorrMap(boost::shared_ptr< ApCorrMap > apCorrMap)
Set the exposure's aperture correction map (null pointer if !hasApCorrMap())
boost::shared_ptr< CoaddInputs > getCoaddInputs() const
Return a pair of catalogs that record the inputs, if this Exposure is a coadd (otherwise null)...
void setValidPolygon(boost::shared_ptr< geom::polygon::Polygon const > polygon)
Set the exposure's valid Polygon.
boost::shared_ptr< daf::base::PropertyList > metadata
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< daf::base::PropertyList > varianceMetadata
boost::shared_ptr< Calib > getCalib()
Return the exposure's photometric calibration.
bool hasDetector() const
Does this exposure have Detector information?
FitsWriteData _startWriteFits(geom::Point2I const &xy0=geom::Point2I()) const
Start the process of writing an exposure to FITS.
boost::shared_ptr< geom::polygon::Polygon const > _validPolygon
boost::shared_ptr< CoaddInputs > _coaddInputs
Class encapsulating an identifier for an LSST filter.