Template Function lsst::meas::base::python::declareAlgorithm(PyAlg&, PyCtrl&)

Function Documentation

template<class Algorithm, class Control, class PyAlg, class PyCtrl>
void lsst::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 equal Algorithm::Control and Transform::Control.

  • PyAlg: The pybind11::class_ class corresponding to Algorithm.

  • PyCtrl: The pybind11::class_ class corresponding to Control.

Parameters
  • [inout] clsAlgorithm[inout] clsControl: The pybind11 wrappers for the respective C++ classes.