|
lsst.meas.base gdd9490a0bf+839504dd15
|
Public Member Functions | |
| __init__ (self, config, name, metadata) | |
| getExecutionOrder (cls) | |
| calculate (self, diaObjects, diaObjectId, **kwargs) | |
Public Attributes | |
| pixelator = sphgeom.HtmPixelization(self.config.htmLevel) | |
Static Public Attributes | |
| ConfigClass = HTMIndexDiaPositionConfig | |
| str | plugType = 'single' |
| list | inputCols = ["ra", "dec"] |
| list | outputCols = ["pixelId"] |
| bool | needsFilter = False |
Compute the mean position of a DiaObject given a set of DiaSources. Notes ----- This plugin was implemented to satisfy requirements of old APDB interface which required ``pixelId`` column in DiaObject with HTM20 index. APDB interface had migrated to not need that information, but we keep this plugin in case it may be useful for something else.
Definition at line 458 of file diaCalculationPlugins.py.
| lsst.meas.base.diaCalculationPlugins.HTMIndexDiaPosition.__init__ | ( | self, | |
| config, | |||
| name, | |||
| metadata ) |
Reimplemented from lsst.meas.base.diaCalculation.DiaObjectCalculationPlugin.
Definition at line 476 of file diaCalculationPlugins.py.
| lsst.meas.base.diaCalculationPlugins.HTMIndexDiaPosition.calculate | ( | self, | |
| diaObjects, | |||
| diaObjectId, | |||
| ** | kwargs ) |
Compute the mean position of a DiaObject given a set of DiaSources
Parameters
----------
diaObjects : `pandas.dataFrame`
Summary objects to store values in and read ra/dec from.
diaObjectId : `int`
Id of the diaObject to update.
**kwargs
Any additional keyword arguments that may be passed to the plugin.
Reimplemented from lsst.meas.base.diaCalculation.DiaObjectCalculationPlugin.
Definition at line 484 of file diaCalculationPlugins.py.
| lsst.meas.base.diaCalculationPlugins.HTMIndexDiaPosition.getExecutionOrder | ( | cls | ) |
Used to set the relative order of plugin execution.
The values returned by `getExecutionOrder` are compared across all
plugins, and smaller numbers run first.
Notes
-----
`CatalogCalculationPlugin`\s must run with
`BasePlugin.DEFAULT_CATALOGCALCULATION` or higher.
All plugins must implement this method with an appropriate run level
Reimplemented from lsst.meas.base.catalogCalculation.CatalogCalculationPlugin.
Definition at line 481 of file diaCalculationPlugins.py.
|
static |
Definition at line 468 of file diaCalculationPlugins.py.
|
static |
Definition at line 472 of file diaCalculationPlugins.py.
|
static |
Definition at line 474 of file diaCalculationPlugins.py.
|
static |
Definition at line 473 of file diaCalculationPlugins.py.
| lsst.meas.base.diaCalculationPlugins.HTMIndexDiaPosition.pixelator = sphgeom.HtmPixelization(self.config.htmLevel) |
Definition at line 478 of file diaCalculationPlugins.py.
|
static |
Definition at line 470 of file diaCalculationPlugins.py.