25#ifndef LSST_JOINTCAL_CCD_IMAGE_H
26#define LSST_JOINTCAL_CCD_IMAGE_H
129 return _pixelToCommonTangentPlane;
133 return _commonTangentPlaneToTangentPlane;
137 return _tangentPlaneToCommonTangentPlane;
223 double _sinEta, _cosEta, _tanZ;
225 double _lstObs, _hourAngle;
table::Key< int > detector
table::Key< table::Array< std::uint8_t > > wcs
Handler of an actual image from a single CCD.
std::shared_ptr< AstrometryTransform > const getPixelToCommonTangentPlane() const
CcdIdType getCcdId() const
returns ccd ID
std::shared_ptr< afw::cameraGeom::Detector > getDetector() const
VisitIdType getVisit() const
returns visit ID
void setCommonTangentPoint(Point const &commonTangentPoint)
Sets the common tangent point and computes necessary transforms.
MeasuredStarList & getCatalogForFit()
std::shared_ptr< AstrometryTransform > const getPixelToTangentPlane() const
std::pair< int, int > countStars() const
Count the number of valid measured and reference stars that fall within this ccdImage.
std::shared_ptr< AstrometryTransform > const getReadWcs() const
the wcs read in the header. NOT updated when fitting.
Frame const & getImageFrame() const
Frame in pixels.
MeasuredStarList const & getWholeCatalog() const
Gets the as-read catalog.
std::shared_ptr< AstrometryTransform > const getTangentPlaneToCommonTangentPlane() const
std::shared_ptr< AstrometryTransform > const getCommonTangentPlaneToTangentPlane() const
MeasuredStarList const & getCatalogForFit() const
Gets the catalog to be used for fitting, which may have been cleaned-up.
CcdImage & operator=(CcdImage &&)=delete
void resetCatalogForFit()
Clear the catalog for fitting and set it to a copy of the whole catalog.
CcdImage(CcdImage const &)=delete
No move or copy: each CCD image is unique to that ccd+visit, and Associations holds all CcdImages.
double getSinEta() const
Parallactic angle.
Point getRefractionVector() const
double getHourAngle() const
std::shared_ptr< afw::image::PhotoCalib > getPhotoCalib() const
Return the exposure's photometric calibration.
std::string getFilter() const
return the CcdImage filter name
CcdImage(CcdImage &&)=delete
lsst::geom::SpherePoint getBoresightRaDec() const
Gets the boresight RA/Dec.
jointcal::Point const & getCommonTangentPoint() const
Gets the common tangent point, shared between all ccdImages.
std::string getName() const
Return the _name that identifies this ccdImage.
double getTanZ() const
Parallactic angle.
double getCosEta() const
Parallactic angle.
CcdImage & operator=(CcdImage const &)=delete
CcdImageKey getHashKey() const
double getAirMass() const
Airmass.
std::shared_ptr< AstrometryTransform > const getSkyToTangentPlane() const
rectangle with sides parallel to axes.
A list of MeasuredStar. They are usually filled in Associations::createCcdImage.
void copyTo(StarList< Star > ©) const
clears copy and makes a copy of the std::list to copy
std::ostream & operator<<(std::ostream &stream, AstrometryMapping const &mapping)
For hashing a ccdImage: the pair of (visit, ccd) IDs should be unique to each ccdImage.
bool operator==(CcdImageKey const &right) const
bool operator!=(CcdImageKey const &right) const
size_t operator()(lsst::jointcal::CcdImageKey const &key) const