23 #include <pybind11/pybind11.h>
25 #include <pybind11/stl.h>
29 namespace py = pybind11;
30 using namespace py::literals;
37 py::module mod(
"_footprintMerge",
"Python wrapper for afw _footprintMerge library");
39 py::class_<FootprintMergeList> clsFootprintMergeList(mod,
"FootprintMergeList");
42 clsFootprintMergeList.def(
44 "sourceSchema"_a,
"filterList"_a,
"initialPeakSchema"_a);
45 clsFootprintMergeList.def(py::init<
afw::table::Schema &, std::vector<std::string>
const &>(),
46 "sourceSchema"_a,
"filterList"_a);
49 clsFootprintMergeList.def(
"getPeakSchema", &FootprintMergeList::getPeakSchema);
50 clsFootprintMergeList.def(
"addCatalog", &FootprintMergeList::addCatalog,
"sourceTable"_a,
"inputCat"_a,
51 "filter"_a,
"minNewPeakDist"_a = -1.,
"doMerge"_a =
true,
52 "maxSamePeakDist"_a = -1.);
53 clsFootprintMergeList.def(
"clearCatalog", &FootprintMergeList::clearCatalog);
54 clsFootprintMergeList.def(
"getFinalSources", &FootprintMergeList::getFinalSources,
"outputCat"_a);
Defines the fields and offsets for a table.
PYBIND11_PLUGIN(_cameraPoint)