9 py::class_<Matches> pyMatches(p_class,
"Matches");
11 pyMatches.doc() = R
"pbdoc( 12 Result of the data-association step (Matcher::findClosests), before outlier rejection. 14 This class holds a list of associated reference identifiers, along with the corresponding \e squared distance, for all points in the reading. 15 A single point in the reading can have one or multiple matches. 18 using Dists = Matches::Dists;
19 using Ids = Matches::Ids;
25 .def(py::init<>()).def(py::init<const Dists&, const Ids>(), py::arg(
"dists"), py::arg(
"ids"))
26 .def(py::init<const int, const int>(), py::arg(
"knn"), py::arg(
"pointsCount"))
28 .def_readwrite(
"dists", &Matches::dists,
"squared distances to closest points")
29 .def_readwrite(
"ids", &Matches::ids,
"identifiers of closest points")
31 .def(
"getDistsQuantile", &Matches::getDistsQuantile, py::arg(
"quantile"))
32 .def(
"getMedianAbsDeviation", &Matches::getMedianAbsDeviation)
33 .def(
"getStandardDeviation", &Matches::getStandardDeviation);
void pybindMatches(py::class_< PM > &p_class)