28 namespace lsst {
namespace meas {
namespace astrom {
namespace sip {
59 throw LSST_EXCEPT(pex::exceptions::InvalidParameterError,
"Distance must be > 0");
81 pex::exceptions::LogicError,
82 "SourceTable passed to MatchSrcToCatalogue does not have its centroid slot set."
87 i->updateCoord(*
_wcs);
101 std::size_t size =
_match.size();
102 for (std::size_t i=0; i<size; ++i) {
103 for (std::size_t j=i+1; j<size; ++j) {
126 std::size_t size =
_match.size();
127 for (std::size_t i=0; i<size; ++i) {
128 for (std::size_t j=i+1; j<size; ++j) {
afw::table::SimpleCatalog _catSet
Copy of input catalog.
lsst::afw::geom::Angle _dist
How close must two objects be to match.
afw::table::ReferenceMatchVector _match
std::vector< ReferenceMatch > ReferenceMatchVector
Implementation of the WCS standard for a any projection.
void setWcs(boost::shared_ptr< afw::image::Wcs const > wcs)
Set a different Wcs solution.
std::vector< Match< typename Cat1::Record, typename Cat2::Record > > matchRaDec(Cat1 const &cat1, Cat2 const &cat2, Angle radius, bool closest=true)
MatchSrcToCatalogue(afw::table::SimpleCatalog const &catSet, afw::table::SourceCatalog const &imgSet, boost::shared_ptr< afw::image::Wcs const > wcs, afw::geom::Angle dist)
Create a list of common objects from a catalogue and an image.
boost::shared_ptr< lsst::afw::image::Wcs const > _wcs
List of tuples of matching indices.
Custom catalog class for record/table subclasses that are guaranteed to have an ID, and should generally be sorted by that ID.
void setDist(afw::geom::Angle dist)
Set a new value for the maximum allowed distance between two matching objects (in ra/dec space) ...
afw::table::ReferenceMatchVector getMatches()
Iterator class for CatalogT.
#define LSST_EXCEPT(type,...)
void setImgSrcSet(afw::table::SourceCatalog const &srcSet)
sourceSet is a vector of pointers to Sources.
boost::shared_ptr< Table > getTable() const
Return the table associated with the catalog.
afw::table::SourceCatalog _imgSet
Copy of input catalog.
void setCatSrcSet(afw::table::SimpleCatalog const &catSet)