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