Base class for after CatalogCalculation plugin
Definition at line 27 of file catalogCalculation.py.
def lsst.meas.base.catalogCalculation.CatalogCalculationPlugin.__init__ |
( |
|
self, |
|
|
|
config, |
|
|
|
name, |
|
|
|
schema, |
|
|
|
metadata |
|
) |
| |
Initialize the catalogCalculation plugin.
- Parameters
-
[in] | config | An instance of catalogCalculation config class. |
[in] | name | The string the plugin was registered with. |
[in,out] | schema | The source schema, New fields should be added here to hold output produced by this plugin. |
[in] | metadata | Plugin metadata that will be attached to the output catalog |
Definition at line 40 of file catalogCalculation.py.
def lsst.meas.base.catalogCalculation.CatalogCalculationPlugin.calculate |
( |
|
self, |
|
|
|
cat, |
|
|
|
kwargs |
|
) |
| |
Process either a single catalog enter or the whole catalog and produce output defined by the plugin.
- Parameters
-
[in,out] | cat | Either a lsst source catalog or a catalog entery depending on the plug type specified in the classes configuration. Results may be added to new columns, or existing entries altered. |
[in] | kwargs | Any additional kwargs that may be passed through the CatalogCalculationPlugin. |
Definition at line 62 of file catalogCalculation.py.
def lsst.meas.base.catalogCalculation.CatalogCalculationPlugin.getExecutionOrder |
( |
|
cls | ) |
|
Sets the relative order of plugins (smaller numbers run first).
CatalogCalculation plugins must run with BasePlugin.DEFAULT_CATALOGCALCULATION or higher
All plugins must implement this method with an appropriate run level
Definition at line 53 of file catalogCalculation.py.
string lsst.meas.base.catalogCalculation.CatalogCalculationPlugin.plugType = 'single' |
|
static |
The documentation for this class was generated from the following file: