wrapTransform¶
- lsst.meas.base.wrapTransform(transformClass, hasLogName=False)¶
Modify a C++ transform to accept either a
Config
or aControl
.That is, the configuration may either be provided as a (C++)
Control
object or an instance of a Python class derived fromBasePluginConfig
.- Parameters:
- transformClassSubclass of C++
BaseTransform
A C++ transform class, wrapped with pybind11. Its constructor must take a
Control
object, astd::string
, and aSchemaMapper
, in that order.- hasLogName
bool
, optional Unused.
- transformClassSubclass of C++