|
lsst.meas.base gb27bff8666+4bcecaf63b
|
Public Member Functions | |
| getExecutionOrder (cls) | |
| calculate (self, diaObjects, diaSources, **kwargs) | |
| fail (self, diaObject, columns, error=None) | |
| getLogName (self) | |
Static Public Member Functions | |
| getTransformClass () | |
Public Attributes | |
| config = config | |
| name = name | |
| logName = logName | |
Static Public Attributes | |
| float | FLUX_MOMENTS_CALCULATED = 5.0 |
| list | inputCols = [] |
| list | outputCols = [] |
| bool | needsFilter = True |
| registry = PluginRegistry(CatalogCalculationPluginConfig) | |
| str | plugType = 'single' |
| float | CENTROID_ORDER = 0.0 |
| float | SHAPE_ORDER = 1.0 |
| float | FLUX_ORDER = 2.0 |
| float | APCORR_ORDER = 3.0 |
| float | DEFAULT_CATALOGCALCULATION = 4.0 |
| ConfigClass = BasePluginConfig | |
Determine the min and max time DiaSources have been observed.
Definition at line 711 of file diaCalculationPlugins.py.
| lsst.meas.base.diaCalculationPlugins.FirstLastDiaSourceTime.calculate | ( | self, | |
| diaObjects, | |||
| diaSources, | |||
| ** | kwargs ) |
Store the first and last DiaSource times per DiaObject.
Stores the smaller of the stored value of ``firstDiaSourceMjdTai``
and the minimum ``midpointMjdTai`` in the provided DiaSources, and
the larger of the stored value of ``lastDiaSourceMjdTai`` and the
maximum ``midpointMjdTai`` in the provided DiaSources. This allows
the stored values to persist even when only a shorter history of
DiaSources is loaded from the APDB. DiaSources with NaN
``midpointMjdTai`` are ignored.
Parameters
----------
diaObjects : `pandas.DataFrame`
Summary objects to store values in, which may include prior
values of ``firstDiaSourceMjdTai`` and ``lastDiaSourceMjdTai``
for some objects.
diaSources : `pandas.DataFrame` or `pandas.DataFrameGroupBy`
Catalog of DiaSources summarized by these DiaObjects.
**kwargs
Any additional keyword arguments that may be passed to the plugin.
Reimplemented from lsst.meas.base.diaCalculation.DiaObjectCalculationPlugin.
Definition at line 726 of file diaCalculationPlugins.py.
|
inherited |
Set diaObject position values to nan.
Parameters
----------
diaObject : `dict`
Summary object to store values in.
columns : `list` of `str`
List of string names of columns to write a the failed value.
error : `BaseException` or `None`
Error to pass. Kept for consistency with CatologCalculationPlugin.
Unused.
Reimplemented from lsst.meas.base.pluginsBase.BasePlugin.
Definition at line 141 of file diaCalculation.py.
| lsst.meas.base.diaCalculationPlugins.FirstLastDiaSourceTime.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 723 of file diaCalculationPlugins.py.
|
inherited |
Definition at line 134 of file pluginsBase.py.
|
staticinherited |
Get the measurement transformation appropriate to this plugin. This returns a subclass of `transforms.MeasurementTransform`, which may be instantiated with details of the algorithm configuration and then called with information about calibration and WCS to convert from raw measurement quantities to calibrated units. Calibrated data is then provided in a separate output table. Notes ----- By default, we copy everything from the input to the output without transformation.
Reimplemented in lsst.meas.base.plugins.ForcedPeakCentroidPlugin, and lsst.meas.base.plugins.SingleFramePeakCentroidPlugin.
Definition at line 169 of file pluginsBase.py.
|
staticinherited |
Definition at line 98 of file pluginsBase.py.
|
staticinherited |
Definition at line 72 of file pluginsBase.py.
|
inherited |
Definition at line 130 of file pluginsBase.py.
|
staticinherited |
Definition at line 116 of file pluginsBase.py.
|
staticinherited |
Definition at line 108 of file pluginsBase.py.
|
staticinherited |
Definition at line 70 of file diaCalculation.py.
|
staticinherited |
Definition at line 89 of file pluginsBase.py.
|
staticinherited |
Definition at line 83 of file diaCalculation.py.
|
inherited |
Definition at line 132 of file pluginsBase.py.
|
inherited |
Definition at line 131 of file pluginsBase.py.
|
staticinherited |
Definition at line 99 of file diaCalculation.py.
|
staticinherited |
Definition at line 91 of file diaCalculation.py.
|
staticinherited |
Definition at line 69 of file catalogCalculation.py.
|
staticinherited |
Definition at line 65 of file catalogCalculation.py.
|
staticinherited |
Definition at line 80 of file pluginsBase.py.