lsst.jointcal
tickets.DM-23835-gb462ae569f
|
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
void copyTo(StarList< Star > ©) const
clears copy and makes a copy of the std::list to copy
const std::shared_ptr< AstrometryTransform > getPixelToCommonTangentPlane() const
double getTanZ() const
Parallactic angle.
double getHourAngle() const
std::list< std::shared_ptr< CcdImage > > CcdImageList
table::Key< table::Array< std::uint8_t > > wcs
const std::shared_ptr< AstrometryTransform > getCommonTangentPlaneToTangentPlane() const
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
const std::shared_ptr< AstrometryTransform > getPixelToTangentPlane() const
std::string getName() const
Return the _name that identifies this ccdImage.
Point getRefractionVector() const
std::ostream & operator<<(std::ostream &stream, AstrometryMapping const &mapping)
Handler of an actual image from a single CCD.
const Frame & getImageFrame() const
Frame in pixels.
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.
Class for a simple mapping implementing a generic AstrometryTransform.
const std::shared_ptr< AstrometryTransform > getReadWcs() const
the wcs read in the header. NOT updated when fitting.
const MeasuredStarList & getWholeCatalog() const
Gets the as-read catalog.
const MeasuredStarList & getCatalogForFit() const
Gets the catalog to be used for fitting, which may have been cleaned-up.
VisitIdType getVisit() const
returns visit ID
CcdIdType getCcdId() const
returns ccd ID
std::pair< int, int > countStars() const
Count the number of valid measured and reference stars that fall within this ccdImage.
table::Key< int > detector
const jointcal::Point & getCommonTangentPoint() const
Gets the common tangent point, shared between all ccdImages.
std::shared_ptr< afw::cameraGeom::Detector > getDetector() 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
const std::shared_ptr< AstrometryTransform > getTangentPlaneToCommonTangentPlane() const
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
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.
const std::shared_ptr< AstrometryTransform > getSkyToTangentPlane() const