The class that implements the relations between MeasuredStar and FittedStar.
More...
#include <Associations.h>
|
size_t | refStarListSize () |
|
size_t | fittedStarListSize () |
|
| Associations () |
| Source selection is performed in python, so Associations' constructor only initializes a couple of variables. More...
|
|
| Associations (Associations const &)=delete |
| No moves or copies: jointcal only ever needs one Associations object. More...
|
|
| Associations (Associations &&)=delete |
|
Associations & | operator= (Associations const &)=delete |
|
Associations & | operator= (Associations &&)=delete |
|
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< afw::image::PhotoCalib > photoCalib, std::shared_ptr< afw::cameraGeom::Detector > detector, int visit, int ccd, lsst::jointcal::JointcalControl const &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, std::map< std::string, std::vector< double >> const &refFluxMap, std::map< std::string, std::vector< double >> const &refFluxErrMap, bool rejectBadFluxes=false) |
| 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 | prepareFittedStars (int minMeasurements) |
| Set the color field of FittedStar 's from a colored catalog. More...
|
|
CcdImageList const & | getCcdImageList () const |
|
unsigned | getNFilters () 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...
|
|
size_t | nFittedStarsWithAssociatedRefStar () const |
| Return the number of fittedStars that have an associated refStar. More...
|
|
The class that implements the relations between MeasuredStar and FittedStar.
Definition at line 28 of file Associations.h.
◆ Associations() [1/3]
lsst::jointcal::Associations::Associations |
( |
| ) |
|
|
inline |
Source selection is performed in python, so Associations' constructor only initializes a couple of variables.
Definition at line 43 of file Associations.h.
◆ Associations() [2/3]
lsst::jointcal::Associations::Associations |
( |
Associations const & |
| ) |
|
|
delete |
No moves or copies: jointcal only ever needs one Associations object.
◆ Associations() [3/3]
lsst::jointcal::Associations::Associations |
( |
Associations && |
| ) |
|
|
delete |
◆ addImage()
Create a ccdImage from an exposure catalog and metadata, and add it to the list.
- Parameters
-
[in] | catalog | The extracted source catalog, selected for good astrometric sources. |
[in] | wcs | The exposure's original wcs |
[in] | visitInfo | The exposure's visitInfo object |
[in] | bbox | The bounding box of the exposure |
[in] | filter | The exposure's filter |
[in] | photoCalib | The exposure's photometric calibration |
[in] | detector | The exposure's detector |
[in] | visit | The visit identifier |
[in] | ccd | The ccd identifier |
[in] | control | The JointcalControl object |
Definition at line 38 of file Associations.cc.
◆ associateCatalogs()
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 57 of file Associations.cc.
◆ collectRefStars()
Collect stars from an external reference catalog and associate them with fittedStars.
- Parameters
-
| 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. |
| refFluxMap | fluxes per filter of corresponding refCat objects (can be empty) |
| refFluxErrMap | flux errors per filter of corresponding refCat objects (can be empty) |
| rejectBadFluxes | Reject reference sources with flux=NaN or 0 and/or fluxErr=NaN or 0. Typically false for astrometry and true for photometry. |
Definition at line 137 of file Associations.cc.
◆ deprojectFittedStars()
void lsst::jointcal::Associations::deprojectFittedStars |
( |
| ) |
|
Sends back the fitted stars coordinates on the sky FittedStarsList::inTangentPlaneCoordinates keeps track of that.
Definition at line 350 of file Associations.cc.
◆ fittedStarListSize()
size_t lsst::jointcal::Associations::fittedStarListSize |
( |
| ) |
|
|
inline |
◆ getCcdImageList()
CcdImageList const& lsst::jointcal::Associations::getCcdImageList |
( |
| ) |
const |
|
inline |
◆ getCommonTangentPoint()
Point lsst::jointcal::Associations::getCommonTangentPoint |
( |
| ) |
const |
|
inline |
can be used to project sidereal coordinates related to the image set on a plane.
Definition at line 61 of file Associations.h.
◆ getNFilters()
unsigned lsst::jointcal::Associations::getNFilters |
( |
| ) |
const |
|
inline |
Number of different bands in the input image list. Not implemented so far.
Definition at line 127 of file Associations.h.
◆ getRaDecBBox()
◆ nCcdImagesValidForFit()
int lsst::jointcal::Associations::nCcdImagesValidForFit |
( |
| ) |
const |
return the number of CcdImages with non-empty catalogs to-be-fit.
Definition at line 364 of file Associations.cc.
◆ nFittedStarsWithAssociatedRefStar()
size_t lsst::jointcal::Associations::nFittedStarsWithAssociatedRefStar |
( |
| ) |
const |
Return the number of fittedStars that have an associated refStar.
Definition at line 370 of file Associations.cc.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ prepareFittedStars()
void lsst::jointcal::Associations::prepareFittedStars |
( |
int |
minMeasurements | ) |
|
Set the color field of FittedStar 's from a colored catalog.
Prepare the fittedStar list by making quality cuts and normalizing measurements.
- Parameters
-
[in] | minMeasurements | The minimum number of measuredStars for a FittedStar to be included. |
Definition at line 261 of file Associations.cc.
◆ refStarListSize()
size_t lsst::jointcal::Associations::refStarListSize |
( |
| ) |
|
|
inline |
◆ setCommonTangentPoint()
Sets a shared tangent point for all ccdImages.
- Parameters
-
commonTangentPoint | The common tangent point of all input images (decimal degrees). |
Definition at line 52 of file Associations.cc.
◆ ccdImageList
◆ fittedStarList
◆ refStarList
The documentation for this class was generated from the following files: