lsst.jointcal  master-gc935ebf72c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 (lsst::afw::table::SortedCatalogT< lsst::afw::table::SourceRecord > &record, const boost::shared_ptr< lsst::afw::image::TanWcs > wcs, const boost::shared_ptr< lsst::afw::image::VisitInfo > visitInfo, const lsst::afw::geom::Box2I &bbox, const std::string &filter, const boost::shared_ptr< lsst::afw::image::Calib > calib, const int &visit, const int &ccd, const std::string &fluxField)
 
std::string getName () const
 Return the _name that identifies this ccdImage. More...
 
const MeasuredStarListgetWholeCatalog () const
 Gets the as-read catalog. More...
 
void setCommonTangentPoint (const Point &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...
 
const GtransfogetPix2CommonTangentPlane () const
 
const GtransfogetCommonTangentPlane2TP () const
 
const GtransfogetTP2CommonTangentPlane () const
 
const GtransfogetPix2TangentPlane () const
 
const GtransfogetSky2TP () const
 
int getCcdId () const
 returns ccd ID More...
 
VisitIdType getVisit () const
 returns visit ID More...
 
double getAirMass () const
 Airmass. More...
 
double getMjd () const
 Julian Date. More...
 
boost::shared_ptr
< lsst::afw::image::Calib > 
getCalib ()
 Return the exposure's photometric calibration. More...
 
lsst::afw::coord::IcrsCoord getBoresightRaDec ()
 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...
 
const GtransforeadWCS () const
 the wcs read in the header. NOT updated when fitting. More...
 
const GtransfogetInverseReadWCS () const
 the inverse of the one above. More...
 
const FramegetImageFrame () const
 Frame in pixels. More...
 
const MeasuredStarListgetCatalogForFit () 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 31 of file CcdImage.h.

Constructor & Destructor Documentation

lsst::jointcal::CcdImage::CcdImage ( lsst::afw::table::SortedCatalogT< lsst::afw::table::SourceRecord > &  record,
const boost::shared_ptr< lsst::afw::image::TanWcs >  wcs,
const boost::shared_ptr< lsst::afw::image::VisitInfo >  visitInfo,
const lsst::afw::geom::Box2I &  bbox,
const std::string &  filter,
const boost::shared_ptr< lsst::afw::image::Calib >  calib,
const int &  visit,
const int &  ccd,
const std::string &  fluxField 
)

Definition at line 69 of file CcdImage.cc.

Member Function Documentation

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

Airmass.

Definition at line 133 of file CcdImage.h.

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

Gets the boresight RA/Dec.

Definition at line 144 of file CcdImage.h.

boost::shared_ptr< lsst::afw::image::Calib > lsst::jointcal::CcdImage::getCalib ( )
inline

Return the exposure's photometric calibration.

Definition at line 139 of file CcdImage.h.

const MeasuredStarList& 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 93 of file CcdImage.h.

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 94 of file CcdImage.h.

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

returns ccd ID

Definition at line 127 of file CcdImage.h.

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

Definition at line 115 of file CcdImage.h.

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 109 of file CcdImage.h.

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

Parallactic angle.

Definition at line 153 of file CcdImage.h.

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

return the CcdImage filter name

Definition at line 162 of file CcdImage.h.

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

Definition at line 147 of file CcdImage.h.

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

Frame in pixels.

Definition at line 171 of file CcdImage.h.

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

the inverse of the one above.

Definition at line 168 of file CcdImage.h.

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

Julian Date.

Definition at line 136 of file CcdImage.h.

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

Return the _name that identifies this ccdImage.

Definition at line 78 of file CcdImage.h.

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

Definition at line 112 of file CcdImage.h.

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

Definition at line 121 of file CcdImage.h.

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

Definition at line 159 of file CcdImage.h.

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

Parallactic angle.

Definition at line 150 of file CcdImage.h.

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

Definition at line 124 of file CcdImage.h.

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

Parallactic angle.

Definition at line 156 of file CcdImage.h.

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

Definition at line 118 of file CcdImage.h.

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

returns visit ID

Definition at line 130 of file CcdImage.h.

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

Gets the as-read catalog.

Returns
The whole catalog.

Definition at line 85 of file CcdImage.h.

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

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

Definition at line 165 of file CcdImage.h.

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

Sets the common tangent point and computes necessary transforms.

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

Definition at line 116 of file CcdImage.cc.


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