24 #include <pybind11/pybind11.h>
25 #include <pybind11/stl.h>
32 using namespace py::literals;
42 py::class_<FootprintMergeList>(wrappers.
module,
"FootprintMergeList"), [](
auto &mod,
auto &
cls) {
43 cls.def(py::init<afw::table::Schema &, std::vector<std::string> const &,
44 afw::table::Schema const &>(),
45 "sourceSchema"_a,
"filterList"_a,
"initialPeakSchema"_a);
46 cls.def(py::init<afw::table::Schema &, std::vector<std::string> const &>(),
"sourceSchema"_a,
49 cls.def(
"getPeakSchema", &FootprintMergeList::getPeakSchema);
50 cls.def(
"addCatalog", &FootprintMergeList::addCatalog,
"sourceTable"_a,
"inputCat"_a,
51 "filter"_a,
"minNewPeakDist"_a = -1.,
"doMerge"_a = true,
"maxSamePeakDist"_a = -1.);
52 cls.def(
"clearCatalog", &FootprintMergeList::clearCatalog);
53 cls.def(
"getFinalSources", &FootprintMergeList::getFinalSources,
"outputCat"_a);