2 #ifndef LSST_JOINTCAL_ASSOCIATIONS_H 3 #define LSST_JOINTCAL_ASSOCIATIONS_H 58 : ccdImageList(imageList),
105 void associateCatalogs(
const double matchCutInArcsec = 0,
const bool useFittedList =
false,
106 const bool enlargeFittedList =
true);
123 bool rejectBadFluxes =
false);
133 double matchCutArcSec);
171 void selectFittedStars(
int minMeasurements);
179 void normalizeFittedStars()
const;
184 Point _commonTangentPoint;
189 #endif // LSST_JOINTCAL_ASSOCIATIONS_H
unsigned getNFilters() const
Number of different bands in the input image list. Not implemented so far.
int nCcdImagesValidForFit() const
return the number of CcdImages with non-empty catalogs to-be-fit.
Point getCommonTangentPoint() const
can be used to project sidereal coordinates related to the image set on a plane.
CcdImageList ccdImageList
The class that implements the relations between MeasuredStar and FittedStar.
void associateCatalogs(const double matchCutInArcsec=0, const bool useFittedList=false, const bool enlargeFittedList=true)
incrementaly builds a merged catalog of all image catalogs
void prepareFittedStars(int minMeasurements)
Set the color field of FittedStar 's from a colored catalog.
size_t nFittedStarsWithAssociatedRefStar() const
Return the number of fittedStars that have an associated refStar.
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.
table::Key< table::Array< std::uint8_t > > wcs
Class for a simple mapping implementing a generic Gtransfo.
std::map< std::string, std::vector< double > > RefFluxMapType
void computeCommonTangentPoint()
Sets a shared tangent point for all ccdImages, using the mean of the centers of all ccdImages...
A list of FittedStar s. Such a list is typically constructed by Associations.
void deprojectFittedStars()
Sends back the fitted stars coordinates on the sky FittedStarsList::inTangentPlaneCoordinates keeps t...
CcdImageList const & getCcdImageList() const
void setCommonTangentPoint(lsst::afw::geom::Point2D const &commonTangentPoint)
Sets a shared tangent point for all ccdImages.
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.
a virtual (interface) class for geometric transformations.
const lsst::afw::geom::Box2D getRaDecBBox()
Associations()
Source selection is performed in python, so Associations' constructor only initializes a couple of va...
Associations(CcdImageList const &imageList)
Create an Associations object from a pre-built list of ccdImages.
Associations & operator=(Associations const &)=delete
FittedStarList fittedStarList
size_t fittedStarListSize()