|
LSSTApplications
16.0-11-g09ed895+2,16.0-11-g12e47bd,16.0-11-g9bb73b2+6,16.0-12-g5c924a4+6,16.0-14-g9a974b3+1,16.0-15-g1417920+1,16.0-15-gdd5ca33+1,16.0-16-gf0259e2,16.0-17-g31abd91+7,16.0-17-g7d7456e+7,16.0-17-ga3d2e9f+13,16.0-18-ga4d4bcb+1,16.0-18-gd06566c+1,16.0-2-g0febb12+21,16.0-2-g9d5294e+69,16.0-2-ga8830df+6,16.0-20-g21842373+7,16.0-24-g3eae5ec,16.0-28-gfc9ea6c+4,16.0-29-ge8801f9,16.0-3-ge00e371+34,16.0-4-g18f3627+13,16.0-4-g5f3a788+20,16.0-4-ga3eb747+10,16.0-4-gabf74b7+29,16.0-4-gb13d127+6,16.0-49-g42e581f7+6,16.0-5-g27fb78a+7,16.0-5-g6a53317+34,16.0-5-gb3f8a4b+87,16.0-6-g9321be7+4,16.0-6-gcbc7b31+42,16.0-6-gf49912c+29,16.0-7-gd2eeba5+51,16.0-71-ge89f8615e,16.0-8-g21fd5fe+29,16.0-8-g3a9f023+20,16.0-8-g4734f7a+1,16.0-8-g5858431+3,16.0-9-gf5c1f43+8,master-gd73dc1d098+1,w.2019.01
LSSTDataManagementBasePackage
|
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... | |
| Associations (CcdImageList const &imageList) | |
| Create an Associations object from a pre-built list of ccdImages. 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 | computeCommonTangentPoint () |
| Sets a shared tangent point for all ccdImages, using the mean of the centers of all ccdImages. 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 | createCcdImage (afw::table::SourceCatalog &catalog, std::shared_ptr< lsst::afw::geom::SkyWcs > 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 (afw::table::SimpleCatalog &refCat, afw::geom::Angle matchCut, std::string const &fluxField, RefFluxMapType const &refFluxMap=RefFluxMapType(), RefFluxMapType const &refFluxErrMap=RefFluxMapType(), 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... | |
Public Attributes | |
| CcdImageList | ccdImageList |
| RefStarList | refStarList |
| FittedStarList | fittedStarList |
The class that implements the relations between MeasuredStar and FittedStar.
Definition at line 53 of file Associations.h.
|
inline |
Source selection is performed in python, so Associations' constructor only initializes a couple of variables.
Definition at line 68 of file Associations.h.
|
inline |
Create an Associations object from a pre-built list of ccdImages.
This is primarily useful for tests that build their own ccdImageList, but it could be used to help parallelize the creation of the ccdImages.
| imageList | A pre-built ccdImage list. |
Definition at line 80 of file Associations.h.
|
delete |
No moves or copies: jointcal only ever needs one Associations object.
|
delete |
| 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 88 of file Associations.cc.
| void lsst::jointcal::Associations::collectRefStars | ( | afw::table::SimpleCatalog & | refCat, |
| afw::geom::Angle | matchCut, | ||
| std::string const & | fluxField, | ||
| RefFluxMapType const & | refFluxMap = RefFluxMapType(), |
||
| RefFluxMapType const & | refFluxErrMap = RefFluxMapType(), |
||
| bool | rejectBadFluxes = false |
||
| ) |
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. | |
| 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 172 of file Associations.cc.
| void lsst::jointcal::Associations::computeCommonTangentPoint | ( | ) |
Sets a shared tangent point for all ccdImages, using the mean of the centers of all ccdImages.
Definition at line 72 of file Associations.cc.
| void lsst::jointcal::Associations::createCcdImage | ( | afw::table::SourceCatalog & | catalog, |
| std::shared_ptr< lsst::afw::geom::SkyWcs > | 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.
| [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 58 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 386 of file Associations.cc.
|
inline |
Definition at line 62 of file Associations.h.
|
inline |
Definition at line 166 of file Associations.h.
|
inline |
can be used to project sidereal coordinates related to the image set on a plane.
Definition at line 104 of file Associations.h.
|
inline |
Number of different bands in the input image list. Not implemented so far.
Definition at line 169 of file Associations.h.
| const lsst::afw::geom::Box2D lsst::jointcal::Associations::getRaDecBBox | ( | ) |
Definition at line 245 of file Associations.cc.
| int lsst::jointcal::Associations::nCcdImagesValidForFit | ( | ) | const |
return the number of CcdImages with non-empty catalogs to-be-fit.
Definition at line 400 of file Associations.cc.
| size_t lsst::jointcal::Associations::nFittedStarsWithAssociatedRefStar | ( | ) | const |
Return the number of fittedStars that have an associated refStar.
Definition at line 406 of file Associations.cc.
|
delete |
|
delete |
| 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.
| [in] | minMeasurements | The minimum number of measuredStars for a FittedStar to be included. |
Definition at line 295 of file Associations.cc.
|
inline |
Definition at line 61 of file Associations.h.
| 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 83 of file Associations.cc.
| CcdImageList lsst::jointcal::Associations::ccdImageList |
Definition at line 55 of file Associations.h.
| FittedStarList lsst::jointcal::Associations::fittedStarList |
Definition at line 57 of file Associations.h.
| RefStarList lsst::jointcal::Associations::refStarList |
Definition at line 56 of file Associations.h.
1.8.13