lsst.pipe.tasks g88ce0b65e2+63aa580cb9
|
Public Member Functions | |
__init__ (self, expr, **kwargs) | |
name (self) | |
columns (self) | |
Public Attributes | |
expr | |
log | |
Protected Member Functions | |
_func (self, df) | |
Static Protected Attributes | |
tuple | _ignore_words = ('mag', 'sin', 'cos', 'exp', 'log', 'sqrt') |
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 `~lsst.pipe.tasks.functors.mag_aware_eval`.
Definition at line 602 of file functors.py.
lsst.pipe.tasks.functors.CustomFunctor.__init__ | ( | self, | |
expr, | |||
** | kwargs ) |
Reimplemented from lsst.pipe.tasks.functors.Functor.
Definition at line 616 of file functors.py.
|
protected |
Reimplemented from lsst.pipe.tasks.functors.Functor.
Definition at line 639 of file functors.py.
lsst.pipe.tasks.functors.CustomFunctor.columns | ( | self | ) |
Columns required to perform calculation.
Reimplemented from lsst.pipe.tasks.functors.Functor.
Definition at line 625 of file functors.py.
lsst.pipe.tasks.functors.CustomFunctor.name | ( | self | ) |
Reimplemented from lsst.pipe.tasks.functors.Functor.
Definition at line 621 of file functors.py.
|
staticprotected |
Definition at line 614 of file functors.py.
lsst.pipe.tasks.functors.CustomFunctor.expr |
Definition at line 617 of file functors.py.
lsst.pipe.tasks.functors.CustomFunctor.log |
Definition at line 640 of file functors.py.