File CcdImage.h¶
-
template<>
structhash<lsst::jointcal::CcdImageKey>¶ - #include <CcdImage.h>
Hash a ccdImage by its visit and ccd IDs.
ccdId and visitId are both 32-bit ints, hash() returns a size_t, so put the ccdId in the most-significant-bit, and the visitId in the least for a simple, unique, hash per ccdImage.
Public Functions
-
size_t
operator()(lsst::jointcal::CcdImageKey const &key) const¶
-
size_t
-
namespace
lsst Class for a simple mapping implementing a generic AstrometryTransform.
Remove all non-astronomical counts from the Chunk Exposure’s pixels.
Forward declarations for lsst::utils::Cache
For details on the Cache class, see the Cache.h file.
It uses a template rather than a pointer so that the derived classes can use the specifics of the transform. The class simplePolyMapping overloads a few routines.
A base class for image defects
Numeric constants used by the Integrate.h integrator routines.
Compute Image Statistics
- Note
Gauss-Kronrod-Patterson quadrature coefficients for use in quadpack routine qng. These coefficients were calculated with 101 decimal digit arithmetic by L. W. Fullerton, Bell Labs, Nov 1981.
- Note
The Statistics class itself can only handle lsst::afw::image::MaskedImage() types. The philosophy has been to handle other types by making them look like lsst::afw::image::MaskedImage() and reusing that code. Users should have no need to instantiate a Statistics object directly, but should use the overloaded makeStatistics() factory functions.
-
namespace
jointcal -
Functions
-
std::ostream &
operator<<(std::ostream &out, CcdImageKey const &key)¶
-
class
CcdImage - #include <CcdImage.h>
Handler of an actual image from a single CCD. NOTE: could possibly be replaced with a subclass of afw.image.Exposure?
Unnamed Group
-
MeasuredStarList const &
getCatalogForFit() const Gets the catalog to be used for fitting, which may have been cleaned-up.
- Return
The catalog for fitting.
-
MeasuredStarList &
getCatalogForFit()
Public Functions
-
CcdImage(CcdImage const&) No move or copy: each CCD image is unique to that ccd+visit, and Associations holds all CcdImages.
-
CcdImage(CcdImage&&)
-
std::string
getName() const Return the _name that identifies this ccdImage.
-
MeasuredStarList const &
getWholeCatalog() const Gets the as-read catalog.
- Return
The whole catalog.
-
void
resetCatalogForFit() Clear the catalog for fitting and set it to a copy of the whole catalog.
-
std::pair<int, int>
countStars() const Count the number of valid measured and reference stars that fall within this ccdImage.
Measured stars are counted if they are valid. Reference stars are counted if a measured star (valid or not) has a fittedStar that has an associated refStar.
- Return
Number of (measured, reference) stars in the image.
-
void
setCommonTangentPoint(Point const &commonTangentPoint) Sets the common tangent point and computes necessary transforms.
- Parameters
[in] commonTangentPoint: The common tangent point of all ccdImages (decimal degrees).
-
jointcal::Point const &
getCommonTangentPoint() const Gets the common tangent point, shared between all ccdImages.
- Return
The common tangent point of all ccdImages (decimal degrees).
-
std::shared_ptr<AstrometryTransform> const
getPixelToCommonTangentPlane() const
-
std::shared_ptr<AstrometryTransform> const
getCommonTangentPlaneToTangentPlane() const
-
std::shared_ptr<AstrometryTransform> const
getTangentPlaneToCommonTangentPlane() const
-
std::shared_ptr<AstrometryTransform> const
getPixelToTangentPlane() const
-
std::shared_ptr<AstrometryTransform> const
getSkyToTangentPlane() const
-
CcdIdType
getCcdId() const returns ccd ID
-
VisitIdType
getVisit() const returns visit ID
-
std::shared_ptr<afw::cameraGeom::Detector>
getDetector() const
-
CcdImageKey
getHashKey() const
-
double
getAirMass() const Airmass.
-
double
getMjd() const Julian Date.
-
std::shared_ptr<afw::image::PhotoCalib>
getPhotoCalib() const Return the exposure’s photometric calibration.
-
lsst::geom::SpherePoint
getBoresightRaDec() const Gets the boresight RA/Dec.
-
double
getHourAngle() const
-
double
getLstObs() const
-
double
getSinEta() const Parallactic angle.
-
double
getCosEta() const Parallactic angle.
-
double
getTanZ() const Parallactic angle.
-
Point
getRefractionVector() const
-
std::shared_ptr<AstrometryTransform> const
getReadWcs() const the wcs read in the header. NOT updated when fitting.
Private Functions
-
void
loadCatalog(lsst::afw::table::SortedCatalogT<lsst::afw::table::SourceRecord> const &Cat, std::string const &fluxField)¶
Private Members
-
MeasuredStarList
_wholeCatalog¶
-
MeasuredStarList
_catalogForFit¶
-
std::shared_ptr<AstrometryTransformSkyWcs>
_readWcs¶
-
std::shared_ptr<AstrometryTransform>
_commonTangentPlaneToTangentPlane¶
-
std::shared_ptr<AstrometryTransform>
_tangentPlaneToCommonTangentPlane¶
-
std::shared_ptr<AstrometryTransform>
_pixelToCommonTangentPlane¶
-
std::shared_ptr<AstrometryTransform>
_pixelToTangentPlane¶
-
std::shared_ptr<AstrometryTransform>
_skyToTangentPlane¶
-
VisitIdType
_visit¶
-
double
_airMass¶
-
double
_mjd¶
-
std::shared_ptr<afw::image::PhotoCalib>
_photoCalib¶
-
std::shared_ptr<afw::cameraGeom::Detector>
_detector¶
-
double
_sinEta¶
-
double
_cosEta¶
-
double
_tanZ¶
-
double
_lstObs¶
-
double
_hourAngle¶
-
MeasuredStarList const &
-
struct
CcdImageKey¶ - #include <CcdImage.h>
For hashing a ccdImage: the pair of (visit, ccd) IDs should be unique to each ccdImage.
Public Functions
-
bool
operator!=(CcdImageKey const &right) const¶
-
bool
operator==(CcdImageKey const &right) const¶
-
bool
-
std::ostream &
-
namespace
std -
template<>
structhash<lsst::jointcal::CcdImageKey> - #include <CcdImage.h>
Hash a ccdImage by its visit and ccd IDs.
ccdId and visitId are both 32-bit ints, hash() returns a size_t, so put the ccdId in the most-significant-bit, and the visitId in the least for a simple, unique, hash per ccdImage.
Public Functions
-
size_t
operator()(lsst::jointcal::CcdImageKey const &key) const
-
size_t
-
template<>