7 namespace datapointsfilters
12 py::class_<CovarianceSamplingDataPointsFilter, std::shared_ptr<CovarianceSamplingDataPointsFilter>,
DataPointsFilter> cosamplingClass(p_module,
"CovarianceSamplingDataPointsFilter");
15 py::enum_<TorqueNormMethod>(cosamplingClass,
"TorqueNormMethod").value(
"L1", TorqueNormMethod::L1)
16 .value(
"Lavg", TorqueNormMethod::Lavg).value(
"Lmax", TorqueNormMethod::Lmax).export_values();
25 .def(py::init<const Parameters&>(), py::arg(
"params") =
Parameters(),
"Constructor, uses parameter interface")
static T computeConditionNumber(const Matrix66 &cov)
virtual void inPlaceFilter(DataPoints &cloud)
Apply these filters to a point cloud without copying.
virtual DataPoints filter(const DataPoints &input)
Apply filters to input point cloud. This is the non-destructive version and returns a copy...
static const ParametersDoc availableParameters()
static const std::string description()
PM::Parameters Parameters
TorqueNormMethod normalizationMethod
PM::DataPointsFilter DataPointsFilter
void pybindCovarianceSampling(py::module &p_module)