|
def | __init__ (self, col1, col2, **kwargs) |
|
def | columns (self) |
|
def | name (self) |
|
def | shortname (self) |
|
def | noDup (self) |
|
def | multilevelColumns (self, data, columnIndex=None, returnTuple=False) |
|
def | __call__ (self, data, dropna=False) |
|
def | difference (self, data1, data2, **kwargs) |
|
def | fail (self, df) |
|
Definition at line 852 of file functors.py.
◆ __init__()
def lsst.pipe.tasks.functors.MagDiff.__init__ |
( |
|
self, |
|
|
|
col1, |
|
|
|
col2, |
|
|
** |
kwargs |
|
) |
| |
◆ __call__()
def lsst.pipe.tasks.functors.Functor.__call__ |
( |
|
self, |
|
|
|
data, |
|
|
|
dropna = False |
|
) |
| |
|
inherited |
◆ columns()
def lsst.pipe.tasks.functors.MagDiff.columns |
( |
|
self | ) |
|
◆ 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 351 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 229 of file functors.py.
◆ name()
def lsst.pipe.tasks.functors.MagDiff.name |
( |
|
self | ) |
|
◆ noDup()
def lsst.pipe.tasks.functors.Functor.noDup |
( |
|
self | ) |
|
|
inherited |
◆ shortname()
def lsst.pipe.tasks.functors.MagDiff.shortname |
( |
|
self | ) |
|
◆ col1
lsst.pipe.tasks.functors.MagDiff.col1 |
◆ col2
lsst.pipe.tasks.functors.MagDiff.col2 |
◆ dataset
lsst.pipe.tasks.functors.Functor.dataset |
|
inherited |
◆ filt
lsst.pipe.tasks.functors.Functor.filt |
|
inherited |
The documentation for this class was generated from the following file: