Template Function lsst::meas::base::python::declareAlgorithmConstructor(PyAlg&)

Function Documentation

template<class Algorithm, class PyAlg>
std::enable_if<!std::is_abstract<Algorithm>::value, void>::type lsst::meas::base::python::declareAlgorithmConstructor(PyAlg &cls)

Wrap the standard algorithm constructor.

Template Parameters
  • Algorithm: The algorithm class.

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

Parameters
  • [inout] cls: The pybind11 wrapper for Algorithm.