lsst.meas.base gdd9490a0bf+839504dd15
Loading...
Searching...
No Matches
lsst.meas.base.diaCalculationPlugins.WeightedMeanDiaPsfFlux Class Reference
Inheritance diagram for lsst.meas.base.diaCalculationPlugins.WeightedMeanDiaPsfFlux:
lsst.meas.base.diaCalculation.DiaObjectCalculationPlugin lsst.meas.base.catalogCalculation.CatalogCalculationPlugin lsst.meas.base.pluginsBase.BasePlugin

Public Member Functions

 getExecutionOrder (cls)
 
 calculate (self, diaObjects, diaSources, filterDiaSources, band, **kwargs)
 

Static Public Attributes

 ConfigClass = WeightedMeanDiaPsfFluxConfig
 
list outputCols = ["psfFluxMean", "psfFluxMeanErr", "psfFluxNdata"]
 
str plugType = "multi"
 
bool needsFilter = True
 

Detailed Description

Compute the weighted mean and mean error on the point source fluxes
of the DiaSource measured on the difference image.

Additionally store number of usable data points.

Definition at line 576 of file diaCalculationPlugins.py.

Member Function Documentation

◆ calculate()

lsst.meas.base.diaCalculationPlugins.WeightedMeanDiaPsfFlux.calculate ( self,
diaObjects,
diaSources,
filterDiaSources,
band,
** kwargs )
Compute the weighted mean and mean error of the point source flux.

Parameters
----------
diaObject : `dict`
    Summary object to store values in.
diaSources : `pandas.DataFrame`
    DataFrame representing all diaSources associated with this
    diaObject.
filterDiaSources : `pandas.DataFrame`
    DataFrame representing diaSources associated with this
    diaObject that are observed in the band pass ``band``.
band : `str`
    Simple, string name of the filter for the flux being calculated.
**kwargs
    Any additional keyword arguments that may be passed to the plugin.

Reimplemented from lsst.meas.base.diaCalculation.DiaObjectCalculationPlugin.

Definition at line 594 of file diaCalculationPlugins.py.

◆ getExecutionOrder()

lsst.meas.base.diaCalculationPlugins.WeightedMeanDiaPsfFlux.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 589 of file diaCalculationPlugins.py.

Member Data Documentation

◆ ConfigClass

lsst.meas.base.diaCalculationPlugins.WeightedMeanDiaPsfFlux.ConfigClass = WeightedMeanDiaPsfFluxConfig
static

Definition at line 583 of file diaCalculationPlugins.py.

◆ needsFilter

bool lsst.meas.base.diaCalculationPlugins.WeightedMeanDiaPsfFlux.needsFilter = True
static

Definition at line 586 of file diaCalculationPlugins.py.

◆ outputCols

list lsst.meas.base.diaCalculationPlugins.WeightedMeanDiaPsfFlux.outputCols = ["psfFluxMean", "psfFluxMeanErr", "psfFluxNdata"]
static

Definition at line 584 of file diaCalculationPlugins.py.

◆ plugType

str lsst.meas.base.diaCalculationPlugins.WeightedMeanDiaPsfFlux.plugType = "multi"
static

Definition at line 585 of file diaCalculationPlugins.py.


The documentation for this class was generated from the following file: