24 #ifndef LSST_AFW_IMAGE_ExposureInfo_h_INCLUDED 25 #define LSST_AFW_IMAGE_ExposureInfo_h_INCLUDED 38 namespace cameraGeom {
62 class TransmissionCurve;
91 bool hasWcs()
const {
return static_cast<bool>(_wcs); }
124 [[deprecated(
"Replaced with hasPhotoCalib (will be removed in 18.0)")]]
bool hasCalib()
const {
125 return static_cast<bool>(_photoCalib);
135 [[deprecated(
"Replaced with setPhotoCalib (will be removed in 18.0)")]]
void setCalib(
147 bool hasPsf()
const {
return static_cast<bool>(_psf); }
186 void initApCorrMap();
216 static int getFitsSerializationVersion();
219 static std::string const& getFitsSerializationVersionName();
261 template <
typename ImageT,
typename MaskT,
typename VarianceT>
277 struct FitsWriteData {
308 void _finishWriteFits(
fits::Fits& fitsfile, FitsWriteData
const&
data)
const;
328 #endif // !LSST_AFW_IMAGE_ExposureInfo_h_INCLUDED void setMetadata(std::shared_ptr< daf::base::PropertySet > metadata)
Set the flexible metadata.
bool hasTransmissionCurve() const
Does this exposure have a transmission curve?
void setWcs(std::shared_ptr< geom::SkyWcs const > wcs)
Set the WCS of the exposure.
void setCalib(std::shared_ptr< PhotoCalib const > photoCalib)
Set the Exposure's PhotoCalib object.
A class to contain the data, WCS, and other information needed to describe an image of the sky...
void setVisitInfo(std::shared_ptr< image::VisitInfo const > const visitInfo)
Set the exposure's visit info.
std::shared_ptr< PhotoCalib const > getPhotoCalib() const
Return the exposure's photometric calibration.
bool hasCalib() const
Does this exposure have a photometric calibration?
std::shared_ptr< image::VisitInfo const > getVisitInfo() const
Return the exposure's visit info.
bool hasPsf() const
Does this exposure have a Psf?
std::shared_ptr< ApCorrMap > getApCorrMap()
Return the exposure's aperture correction map (null pointer if !hasApCorrMap())
void setDetector(std::shared_ptr< cameraGeom::Detector const > detector)
Set the exposure's Detector information.
bool hasDetector() const
Does this exposure have Detector information?
void setCoaddInputs(std::shared_ptr< CoaddInputs > coaddInputs)
Set the exposure's coadd provenance catalogs.
A simple struct that combines the two arguments that must be passed to most cfitsio routines and cont...
bool hasWcs() const
Does this exposure have a Wcs?
table::Key< table::Array< std::uint8_t > > wcs
std::shared_ptr< PhotoCalib const > getCalib() const
Return the exposure's photometric calibration.
A multi-catalog archive object used to save table::io::Persistable objects.
void setValidPolygon(std::shared_ptr< geom::polygon::Polygon const > polygon)
Set the exposure's valid Polygon.
bool hasApCorrMap() const
Return true if the exposure has an aperture correction map.
bool hasVisitInfo() const
Does this exposure have visit info?
void setPsf(std::shared_ptr< detection::Psf const > psf)
Set the exposure's point-spread function.
A base class for image defects.
std::shared_ptr< detection::Psf > getPsf() const
Return the exposure's point-spread function.
void setTransmissionCurve(std::shared_ptr< TransmissionCurve const > tc)
Set the exposure's transmission curve.
void setPhotoCalib(std::shared_ptr< PhotoCalib const > photoCalib)
Set the Exposure's PhotoCalib object.
void setFilter(Filter const &filter)
Set the exposure's filter.
bool hasValidPolygon() const
Does this exposure have a valid Polygon.
table::Key< int > detector
T const_pointer_cast(T... args)
std::shared_ptr< geom::polygon::Polygon const > getValidPolygon() const
Return the valid Polygon.
Holds an integer identifier for an LSST filter.
std::shared_ptr< daf::base::PropertySet > getMetadata() const
Return flexible metadata.
std::shared_ptr< cameraGeom::Detector const > getDetector() const
Return the exposure's Detector information.
void setApCorrMap(std::shared_ptr< ApCorrMap > apCorrMap)
Set the exposure's aperture correction map (null pointer if !hasApCorrMap())
bool hasPhotoCalib() const
Does this exposure have a photometric calibration?
ItemVariant const * other
std::shared_ptr< ApCorrMap const > getApCorrMap() const
Return the exposure's aperture correction map (null pointer if !hasApCorrMap())
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects...
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.
std::shared_ptr< CoaddInputs > getCoaddInputs() const
Return a pair of catalogs that record the inputs, if this Exposure is a coadd (otherwise null)...
std::shared_ptr< geom::SkyWcs const > getWcs() const
Return the WCS of the exposure.
Filter getFilter() const
Return the exposure's filter.
bool hasCoaddInputs() const
Does this exposure have coadd provenance catalogs?
std::shared_ptr< TransmissionCurve const > getTransmissionCurve() const
Return the exposure's transmission curve.