Template Function lsst::meas::base::python::declareAlgorithm(PyAlg&, PyCtrl&)¶
Function Documentation¶
-
template<class
Algorithm
, classControl
, classPyAlg
, classPyCtrl
>
voidlsst::meas::base::python
::
declareAlgorithm
(PyAlg &clsAlgorithm, PyCtrl &clsControl) Wrap the implicit API used by meas_base’s algorithm-control pairs (no transform).
This function only initializes constructors, fields, and methods common to all Algorithms and Controls.
- Template Parameters
Algorithm
: The algorithm class.Control
: The control class. Must equalAlgorithm::Control
andTransform::Control
.PyAlg
: Thepybind11::class_
class corresponding toAlgorithm
.PyCtrl
: Thepybind11::class_
class corresponding toControl
.
- Parameters
[inout] clsAlgorithm[inout] clsControl
: The pybind11 wrappers for the respective C++ classes.