LSST Applications g0265f82a02+d6b5cd48b5,g02d81e74bb+7bcba2e4e8,g2079a07aa2+14824f138e,g212a7c68fe+4b38ad7149,g2305ad1205+906def1e41,g295015adf3+564da5d084,g2bbee38e9b+d6b5cd48b5,g337abbeb29+d6b5cd48b5,g3ddfee87b4+cff7e20090,g487adcacf7+50712f9db4,g50ff169b8f+5929b3527e,g52b1c1532d+a6fc98d2e7,g591dd9f2cf+d19d1a10d7,g5a732f18d5+66d966b544,g64a986408d+7bcba2e4e8,g858d7b2824+7bcba2e4e8,g8a8a8dda67+a6fc98d2e7,g99cad8db69+808e2eeadf,g9ddcbc5298+d4bad12328,ga1e77700b3+246acaaf9c,ga8c6da7877+9e3c062e8e,gb0e22166c9+3863383f4c,gb6a65358fc+d6b5cd48b5,gb983acf43b+60bb7664b7,gba4ed39666+9664299f35,gbb8dafda3b+6623599aa9,gc07e1c2157+f6e5778202,gc120e1dc64+6e28925a4e,gc28159a63d+d6b5cd48b5,gcf0d15dbbd+cff7e20090,gdaeeff99f8+a38ce5ea23,ge6526c86ff+bcc88f9437,ge79ae78c31+d6b5cd48b5,gee10cc3b42+a6fc98d2e7,gf1cff7945b+7bcba2e4e8,v24.1.5.rc1
LSST Data Management Base Package
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
lsst.meas.base.diaCalculationPlugins.SkewDiaPsfFlux Class Reference
Inheritance diagram for lsst.meas.base.diaCalculationPlugins.SkewDiaPsfFlux:
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 = SkewDiaPsfFluxConfig
 
list outputCols = ["psfFluxSkew"]
 
str plugType = "multi"
 
bool needsFilter = True
 

Detailed Description

Compute the skew of diaSource fluxes.

Definition at line 571 of file diaCalculationPlugins.py.

Member Function Documentation

◆ calculate()

lsst.meas.base.diaCalculationPlugins.SkewDiaPsfFlux.calculate ( self,
diaObjects,
diaSources,
filterDiaSources,
band,
** kwargs )
Compute the skew of the point source fluxes.

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 587 of file diaCalculationPlugins.py.

592 **kwargs):
593 """Compute the skew of the point source fluxes.
594
595 Parameters
596 ----------
597 diaObject : `dict`
598 Summary object to store values in.
599 diaSources : `pandas.DataFrame`
600 DataFrame representing all diaSources associated with this
601 diaObject.
602 filterDiaSources : `pandas.DataFrame`
603 DataFrame representing diaSources associated with this
604 diaObject that are observed in the band pass ``band``.
605 band : `str`
606 Simple, string name of the filter for the flux being calculated.
607 **kwargs
608 Any additional keyword arguments that may be passed to the plugin.
609 """
610 diaObjects.loc[:, "{}_psfFluxSkew".format(band)] = \
611 filterDiaSources.psfFlux.skew()
612
613

◆ getExecutionOrder()

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

584 def getExecutionOrder(cls):
585 return cls.DEFAULT_CATALOGCALCULATION
586

Member Data Documentation

◆ ConfigClass

lsst.meas.base.diaCalculationPlugins.SkewDiaPsfFlux.ConfigClass = SkewDiaPsfFluxConfig
static

Definition at line 575 of file diaCalculationPlugins.py.

◆ needsFilter

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

Definition at line 581 of file diaCalculationPlugins.py.

◆ outputCols

list lsst.meas.base.diaCalculationPlugins.SkewDiaPsfFlux.outputCols = ["psfFluxSkew"]
static

Definition at line 579 of file diaCalculationPlugins.py.

◆ plugType

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

Definition at line 580 of file diaCalculationPlugins.py.


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