|
def | name (self) |
|
def | __call__ (self, parq, dropna=False, **kwargs) |
|
def | __call__ (self, data, dropna=False) |
|
def | noDup (self) |
|
def | columns (self) |
|
def | multilevelColumns (self, data, columnIndex=None, returnTuple=False) |
|
def | difference (self, data1, data2, **kwargs) |
|
def | fail (self, df) |
|
def | shortname (self) |
|
|
dictionary | labels = {"star": 0, "maybe": 1, "notStar": 2} |
|
string | name = 'label' |
|
Definition at line 925 of file functors.py.
◆ __call__() [1/2]
def lsst.pipe.tasks.functors.Functor.__call__ |
( |
|
self, |
|
|
|
data, |
|
|
|
dropna = False |
|
) |
| |
|
inherited |
◆ __call__() [2/2]
def lsst.pipe.tasks.functors.Labeller.__call__ |
( |
|
self, |
|
|
|
parq, |
|
|
|
dropna = False , |
|
|
** |
kwargs |
|
) |
| |
|
inherited |
◆ columns()
def lsst.pipe.tasks.functors.Functor.columns |
( |
|
self | ) |
|
|
inherited |
Columns required to perform calculation
Reimplemented in lsst.pipe.tasks.functors.LocalMagnitudeErr, lsst.pipe.tasks.functors.LocalMagnitude, lsst.pipe.tasks.functors.LocalNanojanskyErr, lsst.pipe.tasks.functors.LocalNanojansky, lsst.pipe.tasks.functors.MagnitudeErr, lsst.pipe.tasks.functors.NanoJanskyErr, lsst.pipe.tasks.functors.Photometry, lsst.pipe.tasks.functors.ReferenceBand, lsst.pipe.tasks.functors.ConvertPixelToArcseconds, lsst.pipe.tasks.functors.ComputePixelScale, lsst.pipe.tasks.functors.RadiusFromQuadrupole, lsst.pipe.tasks.functors.E2, lsst.pipe.tasks.functors.E1, lsst.pipe.tasks.functors.Color, lsst.pipe.tasks.functors.MagDiff, lsst.pipe.tasks.functors.MagErr, lsst.pipe.tasks.functors.Mag, lsst.pipe.tasks.functors.Column, lsst.pipe.tasks.functors.CustomFunctor, and lsst.pipe.tasks.functors.CompositeFunctor.
Definition at line 131 of file functors.py.
◆ difference()
def lsst.pipe.tasks.functors.Functor.difference |
( |
|
self, |
|
|
|
data1, |
|
|
|
data2, |
|
|
** |
kwargs |
|
) |
| |
|
inherited |
Computes difference between functor called on two different ParquetTable objects
Definition at line 333 of file functors.py.
◆ fail()
def lsst.pipe.tasks.functors.Functor.fail |
( |
|
self, |
|
|
|
df |
|
) |
| |
|
inherited |
◆ multilevelColumns()
def lsst.pipe.tasks.functors.Functor.multilevelColumns |
( |
|
self, |
|
|
|
data, |
|
|
|
columnIndex = None , |
|
|
|
returnTuple = False |
|
) |
| |
|
inherited |
Returns columns needed by functor from multilevel dataset
To access tables with multilevel column structure, the `MultilevelParquetTable`
or `DeferredDatasetHandle` need to be passed either a list of tuples or a
dictionary.
Parameters
----------
data : `MultilevelParquetTable` or `DeferredDatasetHandle`
columnIndex (optional): pandas `Index` object
either passed or read in from `DeferredDatasetHandle`.
`returnTuple` : bool
If true, then return a list of tuples rather than the column dictionary
specification. This is set to `True` by `CompositeFunctor` in order to be able to
combine columns from the various component functors.
Definition at line 205 of file functors.py.
◆ name()
def lsst.pipe.tasks.functors.Functor.name |
( |
|
self | ) |
|
|
inherited |
Full name of functor (suitable for figure labels)
Reimplemented in lsst.pipe.tasks.functors.LocalMagnitudeErr, lsst.pipe.tasks.functors.LocalMagnitude, lsst.pipe.tasks.functors.LocalNanojanskyErr, lsst.pipe.tasks.functors.LocalNanojansky, lsst.pipe.tasks.functors.Photometry, lsst.pipe.tasks.functors.ConvertPixelToArcseconds, lsst.pipe.tasks.functors.Color, lsst.pipe.tasks.functors.MagDiff, lsst.pipe.tasks.functors.MagErr, lsst.pipe.tasks.functors.Mag, lsst.pipe.tasks.functors.Column, and lsst.pipe.tasks.functors.CustomFunctor.
Definition at line 342 of file functors.py.
◆ noDup()
def lsst.pipe.tasks.functors.Functor.noDup |
( |
|
self | ) |
|
|
inherited |
◆ shortname()
def lsst.pipe.tasks.functors.Functor.shortname |
( |
|
self | ) |
|
|
inherited |
◆ dataset
lsst.pipe.tasks.functors.Functor.dataset |
|
inherited |
◆ filt
lsst.pipe.tasks.functors.Functor.filt |
|
inherited |
◆ labels
dictionary lsst.pipe.tasks.functors.NumStarLabeller.labels = {"star": 0, "maybe": 1, "notStar": 2} |
|
static |
◆ name
string lsst.pipe.tasks.functors.Labeller.name = 'label' |
|
staticinherited |
The documentation for this class was generated from the following file: