wrapTransform

lsst.meas.base.wrapTransform(transformClass, hasLogName=False)

Modify a C++ transform to accept either a Config or a Control.

That is, the configuration may either be provided as a (C++) Control object or an instance of a Python class derived from BasePluginConfig.

Parameters:
transformClassSubclass of C++ BaseTransform

A C++ transform class, wrapped with pybind11. Its constructor must take a Control object, a std::string, and a SchemaMapper, in that order.

hasLogNamebool, optional

Unused.