2 #ifndef LSST_JOINTCAL_CCD_IMAGE_H 3 #define LSST_JOINTCAL_CCD_IMAGE_H 180 double _sineta, _coseta, _tgz;
182 double _lstObs, _hourAngle;
186 Point _commonTangentPoint;
202 return hash<size_t>()(static_cast<size_t>(ccdImage.first) |
203 (
static_cast<size_t>(ccdImage.second) << 32));
208 #endif // LSST_JOINTCAL_CCD_IMAGE_H CcdImage(afw::table::SourceCatalog &record, std::shared_ptr< lsst::afw::image::TanWcs > wcs, std::shared_ptr< lsst::afw::image::VisitInfo > visitInfo, afw::geom::Box2I const &bbox, std::string const &filter, std::shared_ptr< afw::image::PhotoCalib > photoCalib, std::shared_ptr< afw::cameraGeom::Detector > detector, int visit, int ccd, std::string const &fluxField)
VisitIdType getVisit() const
returns visit ID
Gtransfo const * getInverseReadWCS() const
the inverse of the one above.
Gtransfo const * getCommonTangentPlane2TP() const
std::ostream & operator<<(std::ostream &out, CcdImageKey const &key)
Gtransfo const * getSky2TP() const
double getCosEta() const
Parallactic angle.
std::string getName() const
Return the _name that identifies this ccdImage.
Gtransfo const * getPix2CommonTangentPlane() const
double getMjd() const
Julian Date.
CcdIdType getCcdId() const
returns ccd ID
Gtransfo const * getPix2TangentPlane() const
double getSinEta() const
Parallactic angle.
A list of MeasuredStar. They are usually filled in Associations::AddImage.
CcdImage & operator=(CcdImage const &)=delete
std::shared_ptr< afw::image::PhotoCalib > getPhotoCalib() const
Return the exposure's photometric calibration.
std::pair< VisitIdType, CcdIdType > CcdImageKey
For hashing a ccdImage: the pair of (visit, ccd) IDs should be unique to each ccdImage.
rectangle with sides parallel to axes.
MeasuredStarList & getCatalogForFit()
Gets the catalog to be used for fitting, which may have been cleaned-up.
Class for a simple mapping implementing a generic Gtransfo.
Gtransfo const * getTP2CommonTangentPlane() const
double getHourAngle() const
double getAirMass() const
Airmass.
double getTanZ() const
Parallactic angle.
Point getRefractionVector() const
MeasuredStarList const & getCatalogForFit() const
Gets the catalog to be used for fitting, which may have been cleaned-up.
a virtual (interface) class for geometric transformations.
std::string getFilter() const
return the CcdImage filter name
size_t operator()(lsst::jointcal::CcdImageKey const &ccdImage) const
Gtransfo const * readWCS() const
the wcs read in the header. NOT updated when fitting.
std::list< std::shared_ptr< CcdImage > > CcdImageList
CcdImageKey getHashKey() const
std::shared_ptr< afw::cameraGeom::Detector > getDetector() const
Handler of an actual image from a single CCD.
Point const & getCommonTangentPoint() const
Gets the common tangent point, shared between all ccdImages.
lsst::afw::coord::IcrsCoord getBoresightRaDec() const
Gets the boresight RA/Dec.
MeasuredStarList const & getWholeCatalog() const
Gets the as-read catalog.
void setCommonTangentPoint(Point const &commonTangentPoint)
Sets the common tangent point and computes necessary transforms.
Frame const & getImageFrame() const
Frame in pixels.