wrapAlgorithmControl¶
- lsst.meas.base.wrapAlgorithmControl(Base, Control, module=None, hasMeasureN=False)¶
- Wrap a C++ algorithm’s control class into a Python config class. - Parameters:
- BaseSingleFramePluginConfigorForcedPluginConfig
- Base class for the returned config. 
- Controlpybind11-wrapped version of a C++ class.
- Control class to be wrapped. 
- modulemodule, str,int, orNone; optional
- Either a module object, a string specifying the name of the module, or an integer specifying how far back in the stack to look for the module to use: - 0is- lsst.pex.config.wrap,- 1is- lsst.meas.base.wrappers,- 2is the immediate caller, etc. This will be used to set- __module__for the new config class, and the class will also be added to the module. The default is none in which case module will be looked up from Control.
- hasMeasureNbool, optional
- Whether the plugin supports fitting multiple objects at once (if so, a config option to enable/disable this will be added). 
 
- Base
- Returns:
- ConfigClasslsst.pex.config.Config
- A new subclass of lsst.pex.config.Config. 
 
- ConfigClass
 - Notes - This function is generally only called by - wrapAlgorithm; it is unlikely users will have to call it directly.