lsst.jointcal  14.0-20-g39ceace+4
Public Member Functions | List of all members
lsst::jointcal::CcdImage Class Reference

Handler of an actual image from a single CCD. More...

#include <CcdImage.h>

Public Member Functions

 CcdImage (afw::table::SourceCatalog &record, std::shared_ptr< lsst::afw::image::TanWcs > 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)
 
 CcdImage (CcdImage const &)=delete
 No move or copy: each CCD image is unique to that ccd+visit, and Associations holds all CcdImages. More...
 
 CcdImage (CcdImage &&)=delete
 
CcdImageoperator= (CcdImage const &)=delete
 
CcdImageoperator= (CcdImage &&)=delete
 
std::string getName () const
 Return the _name that identifies this ccdImage. More...
 
MeasuredStarList const & getWholeCatalog () const
 Gets the as-read catalog. More...
 
void setCommonTangentPoint (Point const &commonTangentPoint)
 Sets the common tangent point and computes necessary transforms. More...
 
Point const & getCommonTangentPoint () const
 Gets the common tangent point, shared between all ccdImages. More...
 
Gtransfo const * getPix2CommonTangentPlane () const
 
Gtransfo const * getCommonTangentPlane2TP () const
 
Gtransfo const * getTP2CommonTangentPlane () const
 
Gtransfo const * getPix2TangentPlane () const
 
Gtransfo const * getSky2TP () const
 
CcdIdType getCcdId () const
 returns ccd ID More...
 
VisitIdType getVisit () const
 returns visit ID More...
 
std::shared_ptr< afw::cameraGeom::DetectorgetDetector () const
 
CcdImageKey getHashKey () const
 
double getAirMass () const
 Airmass. More...
 
double getMjd () const
 Julian Date. More...
 
std::shared_ptr< afw::image::PhotoCalibgetPhotoCalib () const
 Return the exposure's photometric calibration. More...
 
lsst::afw::coord::IcrsCoord getBoresightRaDec () const
 Gets the boresight RA/Dec. More...
 
double getHourAngle () const
 
double getSinEta () const
 Parallactic angle. More...
 
double getCosEta () const
 Parallactic angle. More...
 
double getTanZ () const
 Parallactic angle. More...
 
Point getRefractionVector () const
 
std::string getFilter () const
 return the CcdImage filter name More...
 
Gtransfo const * readWCS () const
 the wcs read in the header. NOT updated when fitting. More...
 
Gtransfo const * getInverseReadWCS () const
 the inverse of the one above. More...
 
Frame const & getImageFrame () const
 Frame in pixels. More...
 
MeasuredStarList const & getCatalogForFit () const
 Gets the catalog to be used for fitting, which may have been cleaned-up. More...
 
MeasuredStarListgetCatalogForFit ()
 Gets the catalog to be used for fitting, which may have been cleaned-up. More...
 

Detailed Description

Handler of an actual image from a single CCD.

NOTE: could possibly be replaced with a subclass of afw.image.Exposure?

Definition at line 35 of file CcdImage.h.

Constructor & Destructor Documentation

◆ CcdImage() [1/3]

lsst::jointcal::CcdImage::CcdImage ( afw::table::SourceCatalog record,
std::shared_ptr< lsst::afw::image::TanWcs 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 
)

Definition at line 87 of file CcdImage.cc.

◆ CcdImage() [2/3]

lsst::jointcal::CcdImage::CcdImage ( CcdImage const &  )
delete

No move or copy: each CCD image is unique to that ccd+visit, and Associations holds all CcdImages.

◆ CcdImage() [3/3]

lsst::jointcal::CcdImage::CcdImage ( CcdImage &&  )
delete

Member Function Documentation

◆ getAirMass()

double lsst::jointcal::CcdImage::getAirMass ( ) const
inline

Airmass.

Definition at line 109 of file CcdImage.h.

◆ getBoresightRaDec()

lsst::afw::coord::IcrsCoord lsst::jointcal::CcdImage::getBoresightRaDec ( ) const
inline

Gets the boresight RA/Dec.

Definition at line 120 of file CcdImage.h.

◆ getCatalogForFit() [1/2]

MeasuredStarList const& lsst::jointcal::CcdImage::getCatalogForFit ( ) const
inline

Gets the catalog to be used for fitting, which may have been cleaned-up.

Returns
The catalog for fitting.

Definition at line 65 of file CcdImage.h.

◆ getCatalogForFit() [2/2]

MeasuredStarList& lsst::jointcal::CcdImage::getCatalogForFit ( )
inline

Gets the catalog to be used for fitting, which may have been cleaned-up.

Returns
The catalog for fitting.

Definition at line 66 of file CcdImage.h.

◆ getCcdId()

CcdIdType lsst::jointcal::CcdImage::getCcdId ( ) const
inline

returns ccd ID

Definition at line 99 of file CcdImage.h.

◆ getCommonTangentPlane2TP()

Gtransfo const* lsst::jointcal::CcdImage::getCommonTangentPlane2TP ( ) const
inline

Definition at line 87 of file CcdImage.h.

◆ getCommonTangentPoint()

Point const& lsst::jointcal::CcdImage::getCommonTangentPoint ( ) const
inline

Gets the common tangent point, shared between all ccdImages.

Returns
The common tangent point of all ccdImages (decimal degrees).

Definition at line 81 of file CcdImage.h.

◆ getCosEta()

double lsst::jointcal::CcdImage::getCosEta ( ) const
inline

Parallactic angle.

Definition at line 129 of file CcdImage.h.

◆ getDetector()

std::shared_ptr<afw::cameraGeom::Detector> lsst::jointcal::CcdImage::getDetector ( ) const
inline

Definition at line 104 of file CcdImage.h.

◆ getFilter()

std::string lsst::jointcal::CcdImage::getFilter ( ) const
inline

return the CcdImage filter name

Definition at line 138 of file CcdImage.h.

◆ getHashKey()

CcdImageKey lsst::jointcal::CcdImage::getHashKey ( ) const
inline

Definition at line 106 of file CcdImage.h.

◆ getHourAngle()

double lsst::jointcal::CcdImage::getHourAngle ( ) const
inline

Definition at line 123 of file CcdImage.h.

◆ getImageFrame()

Frame const& lsst::jointcal::CcdImage::getImageFrame ( ) const
inline

Frame in pixels.

Definition at line 147 of file CcdImage.h.

◆ getInverseReadWCS()

Gtransfo const* lsst::jointcal::CcdImage::getInverseReadWCS ( ) const
inline

the inverse of the one above.

Definition at line 144 of file CcdImage.h.

◆ getMjd()

double lsst::jointcal::CcdImage::getMjd ( ) const
inline

Julian Date.

Definition at line 112 of file CcdImage.h.

◆ getName()

std::string lsst::jointcal::CcdImage::getName ( ) const
inline

Return the _name that identifies this ccdImage.

Definition at line 50 of file CcdImage.h.

◆ getPhotoCalib()

std::shared_ptr<afw::image::PhotoCalib> lsst::jointcal::CcdImage::getPhotoCalib ( ) const
inline

Return the exposure's photometric calibration.

Definition at line 115 of file CcdImage.h.

◆ getPix2CommonTangentPlane()

Gtransfo const* lsst::jointcal::CcdImage::getPix2CommonTangentPlane ( ) const
inline

Definition at line 84 of file CcdImage.h.

◆ getPix2TangentPlane()

Gtransfo const* lsst::jointcal::CcdImage::getPix2TangentPlane ( ) const
inline

Definition at line 93 of file CcdImage.h.

◆ getRefractionVector()

Point lsst::jointcal::CcdImage::getRefractionVector ( ) const
inline

Definition at line 135 of file CcdImage.h.

◆ getSinEta()

double lsst::jointcal::CcdImage::getSinEta ( ) const
inline

Parallactic angle.

Definition at line 126 of file CcdImage.h.

◆ getSky2TP()

Gtransfo const* lsst::jointcal::CcdImage::getSky2TP ( ) const
inline

Definition at line 96 of file CcdImage.h.

◆ getTanZ()

double lsst::jointcal::CcdImage::getTanZ ( ) const
inline

Parallactic angle.

Definition at line 132 of file CcdImage.h.

◆ getTP2CommonTangentPlane()

Gtransfo const* lsst::jointcal::CcdImage::getTP2CommonTangentPlane ( ) const
inline

Definition at line 90 of file CcdImage.h.

◆ getVisit()

VisitIdType lsst::jointcal::CcdImage::getVisit ( ) const
inline

returns visit ID

Definition at line 102 of file CcdImage.h.

◆ getWholeCatalog()

MeasuredStarList const& lsst::jointcal::CcdImage::getWholeCatalog ( ) const
inline

Gets the as-read catalog.

Returns
The whole catalog.

Definition at line 57 of file CcdImage.h.

◆ operator=() [1/2]

CcdImage& lsst::jointcal::CcdImage::operator= ( CcdImage const &  )
delete

◆ operator=() [2/2]

CcdImage& lsst::jointcal::CcdImage::operator= ( CcdImage &&  )
delete

◆ readWCS()

Gtransfo const* lsst::jointcal::CcdImage::readWCS ( ) const
inline

the wcs read in the header. NOT updated when fitting.

Definition at line 141 of file CcdImage.h.

◆ setCommonTangentPoint()

void lsst::jointcal::CcdImage::setCommonTangentPoint ( Point const &  commonTangentPoint)

Sets the common tangent point and computes necessary transforms.

Parameters
[in]commonTangentPointThe common tangent point of all ccdImages (decimal degrees).

Definition at line 136 of file CcdImage.cc.


The documentation for this class was generated from the following files: