lsst.pipe.tasks g94c5179e93+72e1fde47f
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
lsst.pipe.tasks.functors.CustomFunctor Class Reference
Inheritance diagram for lsst.pipe.tasks.functors.CustomFunctor:
lsst.pipe.tasks.functors.Functor

Public Member Functions

def __init__ (self, expr, **kwargs)
 
def name (self)
 
def columns (self)
 

Public Attributes

 expr
 

Detailed Description

Arbitrary computation on a catalog

Column names (and thus the columns to be loaded from catalog) are found
by finding all words and trying to ignore all "math-y" words.

Parameters
----------
expr : str
    Expression to evaluate, to be parsed and executed by `mag_aware_eval`.

Definition at line 616 of file functors.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.tasks.functors.CustomFunctor.__init__ (   self,
  expr,
**  kwargs 
)

Reimplemented from lsst.pipe.tasks.functors.Functor.

Definition at line 629 of file functors.py.

Member Function Documentation

◆ columns()

def lsst.pipe.tasks.functors.CustomFunctor.columns (   self)
Columns required to perform calculation

Reimplemented from lsst.pipe.tasks.functors.Functor.

Definition at line 638 of file functors.py.

◆ name()

def lsst.pipe.tasks.functors.CustomFunctor.name (   self)
Full name of functor (suitable for figure labels)

Reimplemented from lsst.pipe.tasks.functors.Functor.

Definition at line 634 of file functors.py.

Member Data Documentation

◆ expr

lsst.pipe.tasks.functors.CustomFunctor.expr

Definition at line 630 of file functors.py.


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