2 #ifndef LSST_JOINTCAL_CCD_IMAGE_H 3 #define LSST_JOINTCAL_CCD_IMAGE_H 182 double _sineta, _coseta, _tgz;
184 double _lstObs, _hourAngle;
188 Point _commonTangentPoint;
204 return hash<size_t>()(static_cast<size_t>(ccdImage.first) |
205 (
static_cast<size_t>(ccdImage.second) << 32));
210 #endif // LSST_JOINTCAL_CCD_IMAGE_H VisitIdType getVisit() const
returns visit ID
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.
void resetCatalogForFit()
Clear the catalog for fitting and set it to a copy of the whole catalog.
CcdImage & operator=(CcdImage const &)=delete
std::shared_ptr< afw::image::PhotoCalib > getPhotoCalib() const
Return the exposure's photometric calibration.
lsst::afw::geom::SpherePoint getBoresightRaDec() const
Gets the boresight RA/Dec.
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.
table::Key< table::Array< std::uint8_t > > wcs
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.
void copyTo(StarList< Star > ©) const
clears copy and makes a copy of the std::list to copy
double getTanZ() const
Parallactic angle.
CcdImage(afw::table::SourceCatalog &record, std::shared_ptr< lsst::afw::geom::SkyWcs > 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)
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.
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.