wrapAlgorithmControl¶
- 
lsst.meas.base.wrapAlgorithmControl(Base, Control, module=2, hasMeasureN=False)¶
- Wrap a C++ algorithm’s control class into a Python config class. - Parameters: - Base : SingleFramePluginConfigorForcedPluginConfig
- Base class for the returned config. 
- Control : pybind11-wrapped version of a C++ class.
- Control class to be wrapped. 
- module : module, strorint; 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 to use the callers’ module.
- hasMeasureN : bool, optional
- Whether the plugin supports fitting multiple objects at once (if so, a config option to enable/disable this will be added). 
 - Returns: - ConfigClass : lsst.pex.config.Config
- A new subclass of lsst.pex.config.Config. 
 - Notes - This function is generally only called by - wrapAlgorithm; it is unlikely users will have to call it directly.
- Base :