22 #include "pybind11/pybind11.h"
23 #include "pybind11/stl.h"
28 #include "lsst/afw/table/fwd.h"
31 namespace py = pybind11;
32 using namespace pybind11::literals;
40 py::module mod(
"matchSrcToCatalogue");
42 py::class_<MatchSrcToCatalogue> cls(mod,
"MatchSrcToCatalogue");
44 cls.def(py::init<afw::table::SimpleCatalog
const &, afw::table::SourceCatalog
const &,
45 std::shared_ptr<afw::image::Wcs const>, afw::geom::Angle>(),
46 "catSet"_a,
"imgSet"_a,
"wcs"_a,
"dist"_a);
48 cls.def(
"setDist", &MatchSrcToCatalogue::setDist,
"dist"_a);
49 cls.def(
"setWcs", &MatchSrcToCatalogue::setWcs,
"wcs"_a);
50 cls.def(
"setCatSrcSet", &MatchSrcToCatalogue::setCatSrcSet,
"catSet"_a);
51 cls.def(
"setImgSrcSet", &MatchSrcToCatalogue::setImgSrcSet,
"srcSet"_a);
52 cls.def(
"findMatches", &MatchSrcToCatalogue::findMatches);
53 cls.def(
"getMatches", &MatchSrcToCatalogue::getMatches);
PYBIND11_PLUGIN(makeMatchStatistics)