|
lsst.pipe.tasks gfb5511b3f7+6fc9c088ec
|
Classes | |
| class | Color |
| class | Column |
| class | CompositeFunctor |
| class | ComputePixelScale |
| class | ConvertPixelSqToArcsecondsSq |
| class | ConvertPixelToArcseconds |
| class | CoordColumn |
| class | CustomFunctor |
| class | DecColumn |
| class | DecErrColumn |
| class | DeconvolvedMoments |
| class | E1 |
| class | E2 |
| class | Ebv |
| class | Functor |
| class | HsmFwhm |
| class | HsmTraceSize |
| class | HtmIndex20 |
| class | Index |
| class | LocalDipoleDiffFlux |
| class | LocalDipoleDiffFluxErr |
| class | LocalDipoleMeanFlux |
| class | LocalDipoleMeanFluxErr |
| class | LocalNanojansky |
| class | LocalNanojanskyErr |
| class | LocalPhotometry |
| class | LocalWcs |
| class | Mag |
| class | MagDiff |
| class | MagErr |
| class | NanoJansky |
| class | NanoJanskyErr |
| class | Photometry |
| class | PsfHsmTraceSizeDiff |
| class | PsfSdssTraceSizeDiff |
| class | RAColumn |
| class | RADecCovColumn |
| class | RadiusFromQuadrupole |
| class | RAErrColumn |
| class | ReferenceBand |
| class | SdssTraceSize |
Functions | |
| init_fromDict (initDict, basePath='lsst.pipe.tasks.functors', typeKey='functor', name=None) | |
| mag_aware_eval (df, expr, log) | |
| fluxName (col) | |
| fluxErrName (col) | |
| lsst.pipe.tasks.functors.fluxErrName | ( | col | ) |
Append _instFluxErr to the column name if it doesn't have it already.
Definition at line 789 of file functors.py.
| lsst.pipe.tasks.functors.fluxName | ( | col | ) |
Append _instFlux to the column name if it doesn't have it already.
Definition at line 782 of file functors.py.
| lsst.pipe.tasks.functors.init_fromDict | ( | initDict, | |
| basePath = 'lsst.pipe.tasks.functors', | |||
| typeKey = 'functor', | |||
| name = None ) |
Initialize an object defined in a dictionary.
The object needs to be importable as f'{basePath}.{initDict[typeKey]}'.
The positional and keyword arguments (if any) are contained in "args" and
"kwargs" entries in the dictionary, respectively.
This is used in `~lsst.pipe.tasks.functors.CompositeFunctor.from_yaml` to
initialize a composite functor from a specification in a YAML file.
Parameters
----------
initDict : dictionary
Dictionary describing object's initialization.
Must contain an entry keyed by ``typeKey`` that is the name of the
object, relative to ``basePath``.
basePath : str
Path relative to module in which ``initDict[typeKey]`` is defined.
typeKey : str
Key of ``initDict`` that is the name of the object (relative to
``basePath``).
Definition at line 56 of file functors.py.
| lsst.pipe.tasks.functors.mag_aware_eval | ( | df, | |
| expr, | |||
| log ) |
Evaluate an expression on a DataFrame, knowing what the 'mag' function
means.
Builds on `pandas.DataFrame.eval`, which parses and executes math on
DataFrames.
Parameters
----------
df : ~pandas.DataFrame
DataFrame on which to evaluate expression.
expr : str
Expression.
Definition at line 577 of file functors.py.