LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
25 #ifndef LSST_JOINTCAL_ASSOCIATIONS_H
26 #define LSST_JOINTCAL_ASSOCIATIONS_H
134 void associateCatalogs(
const double matchCutInArcsec = 0,
const bool useFittedList =
false,
135 const bool enlargeFittedList =
true);
151 std::string const &fluxField,
float refCoordinateErr,
bool rejectBadFluxes =
false);
161 double matchCutArcSec);
204 void selectFittedStars(
int minMeasurements);
212 void normalizeFittedStars()
const;
214 Point _commonTangentPoint;
219 #endif // LSST_JOINTCAL_ASSOCIATIONS_H
void associateCatalogs(const double matchCutInArcsec=0, const bool useFittedList=false, const bool enlargeFittedList=true)
incrementaly builds a merged catalog of all image catalogs
void deprojectFittedStars()
Sends back the fitted stars coordinates on the sky FittedStarsList::inTangentPlaneCoordinates keeps t...
table::Key< table::Array< std::uint8_t > > wcs
void addCcdImage(std::shared_ptr< CcdImage > const ccdImage)
Add a pre-constructed ccdImage to the ccdImageList.
void collectRefStars(afw::table::SimpleCatalog &refCat, geom::Angle matchCut, std::string const &fluxField, float refCoordinateErr, bool rejectBadFluxes=false)
Collect stars from an external reference catalog and associate them with fittedStars.
Point getCommonTangentPoint() const
can be used to project sidereal coordinates related to the image set on a plane.
Associations(Associations const &)=delete
No moves or copies: jointcal only ever needs one Associations object.
FittedStarList fittedStarList
CcdImageList ccdImageList
This file declares a class for representing circular regions on the unit sphere.
Associations & operator=(Associations &&)=delete
Associations()
Source selection is performed in python, so Associations' constructor only initializes a couple of va...
Associations(Associations &&)=delete
unsigned getNFilters() const
Number of different bands in the input image list. Not implemented so far.
void prepareFittedStars(int minMeasurements)
Set the color field of FittedStar 's from a colored catalog.
Associations(CcdImageList const &imageList)
Create an Associations object from a pre-built list of ccdImages.
A base class for image defects.
The class that implements the relations between MeasuredStar and FittedStar.
void setCommonTangentPoint(lsst::geom::Point2D const &commonTangentPoint)
Sets a shared tangent point for all ccdImages.
table::Key< int > detector
A class representing an angle.
An integer coordinate rectangle.
A list of FittedStar s. Such a list is typically constructed by Associations.
int nCcdImagesValidForFit() const
return the number of CcdImages with non-empty catalogs to-be-fit.
CcdImageList const & getCcdImageList() const
void createCcdImage(afw::table::SourceCatalog &catalog, std::shared_ptr< lsst::afw::geom::SkyWcs > wcs, std::shared_ptr< lsst::afw::image::VisitInfo > visitInfo, lsst::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.
size_t nFittedStarsWithAssociatedRefStar() const
Return the number of fittedStars that have an associated refStar.
Circle is a circular region on the unit sphere that contains its boundary.
lsst::sphgeom::Circle computeBoundingCircle() const
Return the bounding circle in on-sky (RA, Dec) coordinates containing all CcdImages.
Custom catalog class for record/table subclasses that are guaranteed to have an ID,...
void computeCommonTangentPoint()
Sets a shared tangent point for all ccdImages, using the mean of the centers of all ccdImages.
size_t fittedStarListSize()
Associations & operator=(Associations const &)=delete