lsst.jointcal
master-gc935ebf72c
|
The class that implements the relations between MeasuredStar and FittedStar. More...
#include <Associations.h>
Public Member Functions | |
size_t | refStarListSize () |
size_t | fittedStarListSize () |
Associations () | |
Source selection is performed in python, so Associations' constructor only initializes a couple of variables. More... | |
void | setCommonTangentPoint (lsst::afw::geom::Point2D const &commonTangentPoint) |
Sets a shared tangent point for all ccdImages. More... | |
Point | getCommonTangentPoint () const |
can be used to project sidereal coordinates related to the image set on a plane. More... | |
void | addImage (lsst::afw::table::SortedCatalogT< lsst::afw::table::SourceRecord > &catalog, std::shared_ptr< lsst::afw::image::TanWcs > wcs, std::shared_ptr< lsst::afw::image::VisitInfo > visitInfo, lsst::afw::geom::Box2I const &bbox, std::string const &filter, std::shared_ptr< lsst::afw::image::Calib > calib, int visit, int ccd, std::shared_ptr< lsst::jointcal::JointcalControl > control) |
Create a ccdImage from an exposure catalog and metadata, and add it to the list. More... | |
void | associateCatalogs (const double matchCutInArcsec=0, const bool useFittedList=false, const bool enlargeFittedList=true) |
incrementaly builds a merged catalog of all image catalogs More... | |
void | collectRefStars (lsst::afw::table::SortedCatalogT< lsst::afw::table::SimpleRecord > &refCat, afw::geom::Angle matchCut, std::string const &fluxField) |
Collect stars from an external reference catalog and associate them with fittedStars. More... | |
void | deprojectFittedStars () |
Sends back the fitted stars coordinates on the sky FittedStarsList::inTangentPlaneCoordinates keeps track of that. More... | |
void | selectFittedStars (int minMeasurements) |
Set the color field of FittedStar 's from a colored catalog. More... | |
const CcdImageList & | getCcdImageList () const |
unsigned | NBands () const |
Number of different bands in the input image list. Not implemented so far. More... | |
const lsst::afw::geom::Box2D | getRaDecBBox () |
int | nCcdImagesValidForFit () const |
return the number of CcdImages with non-empty catalogs to-be-fit. More... | |
Public Attributes | |
CcdImageList | ccdImageList |
RefStarList | refStarList |
FittedStarList | fittedStarList |
Point | _commonTangentPoint |
The class that implements the relations between MeasuredStar and FittedStar.
Definition at line 28 of file Associations.h.
lsst::jointcal::Associations::Associations | ( | ) |
Source selection is performed in python, so Associations' constructor only initializes a couple of variables.
Definition at line 36 of file Associations.cc.
void lsst::jointcal::Associations::addImage | ( | lsst::afw::table::SortedCatalogT< lsst::afw::table::SourceRecord > & | catalog, |
std::shared_ptr< lsst::afw::image::TanWcs > | wcs, | ||
std::shared_ptr< lsst::afw::image::VisitInfo > | visitInfo, | ||
lsst::afw::geom::Box2I const & | bbox, | ||
std::string const & | filter, | ||
std::shared_ptr< lsst::afw::image::Calib > | calib, | ||
int | visit, | ||
int | ccd, | ||
std::shared_ptr< lsst::jointcal::JointcalControl > | control | ||
) |
Create a ccdImage from an exposure catalog and metadata, and add it to the list.
catalog | The extracted source catalog, selected for good astrometric sources. | |
[in] | wcs | The exposure's original wcs |
[in] | visitInfo | The exposure's visitInfo object |
bbox | The bounding box of the exposure | |
filter | The exposure's filter | |
[in] | calib | The exposure's photometric calibration |
[in] | visit | The visit identifier |
[in] | ccd | The ccd identifier |
[in] | control | The JointcalControl object |
Definition at line 38 of file Associations.cc.
void lsst::jointcal::Associations::associateCatalogs | ( | const double | matchCutInArcsec = 0 , |
const bool | useFittedList = false , |
||
const bool | enlargeFittedList = true |
||
) |
incrementaly builds a merged catalog of all image catalogs
Definition at line 56 of file Associations.cc.
void lsst::jointcal::Associations::collectRefStars | ( | lsst::afw::table::SortedCatalogT< lsst::afw::table::SimpleRecord > & | refCat, |
afw::geom::Angle | matchCut, | ||
std::string const & | fluxField | ||
) |
Collect stars from an external reference catalog and associate them with fittedStars.
refCat | The catalog of reference sources | |
[in] | matchCut | Separation radius to match fitted and reference stars. |
fluxField | The field name in refCat to get the flux from. |
Definition at line 141 of file Associations.cc.
void lsst::jointcal::Associations::deprojectFittedStars | ( | ) |
Sends back the fitted stars coordinates on the sky FittedStarsList::inTangentPlaneCoordinates keeps track of that.
Definition at line 283 of file Associations.cc.
|
inline |
Definition at line 40 of file Associations.h.
|
inline |
Definition at line 109 of file Associations.h.
|
inline |
can be used to project sidereal coordinates related to the image set on a plane.
Definition at line 56 of file Associations.h.
const lsst::afw::geom::Box2D lsst::jointcal::Associations::getRaDecBBox | ( | ) |
Definition at line 179 of file Associations.cc.
|
inline |
Number of different bands in the input image list. Not implemented so far.
Definition at line 112 of file Associations.h.
|
inline |
return the number of CcdImages with non-empty catalogs to-be-fit.
Definition at line 120 of file Associations.h.
|
inline |
Definition at line 39 of file Associations.h.
void lsst::jointcal::Associations::selectFittedStars | ( | int | minMeasurements | ) |
Set the color field of FittedStar 's from a colored catalog.
Apply quality cuts on potential FittedStars
[in] | minMeasurements | The minimum number of measuredStars for a FittedStar to be included. |
Definition at line 230 of file Associations.cc.
void lsst::jointcal::Associations::setCommonTangentPoint | ( | lsst::afw::geom::Point2D const & | commonTangentPoint | ) |
Sets a shared tangent point for all ccdImages.
commonTangentPoint | The common tangent point of all input images (decimal degrees). |
Definition at line 51 of file Associations.cc.
Point lsst::jointcal::Associations::_commonTangentPoint |
Definition at line 34 of file Associations.h.
CcdImageList lsst::jointcal::Associations::ccdImageList |
Definition at line 30 of file Associations.h.
FittedStarList lsst::jointcal::Associations::fittedStarList |
Definition at line 32 of file Associations.h.
RefStarList lsst::jointcal::Associations::refStarList |
Definition at line 31 of file Associations.h.