LSST Applications g0fba68d861+05a5e06e50,g1fd858c14a+904f1f4196,g2c84ff76c0+247cd845a2,g2c9e612ef2+f5117f1d55,g35bb328faa+fcb1d3bbc8,g4af146b050+123c2f4d45,g4d2262a081+a9e7a6e053,g4e0f332c67+c58e4b632d,g53246c7159+fcb1d3bbc8,g5a012ec0e7+ac98094cfc,g60b5630c4e+f5117f1d55,g67b6fd64d1+dd0349c22b,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g7b71ed6315+fcb1d3bbc8,g87b7deb4dc+2a1aa4536a,g8852436030+d21aad2af4,g89139ef638+dd0349c22b,g8d6b6b353c+f5117f1d55,g9125e01d80+fcb1d3bbc8,g989de1cb63+dd0349c22b,g9f33ca652e+0a580a37dd,g9f7030ddb1+ae84e0d5a5,ga2b97cdc51+f5117f1d55,gabe3b4be73+1e0a283bba,gb1101e3267+1d994e7598,gb58c049af0+f03b321e39,gb89ab40317+dd0349c22b,gcca6a94b71+4ed007ada1,gcf25f946ba+d21aad2af4,gd315a588df+9d9c5ccff1,gd6cbbdb0b4+75aa4b1db4,gd9a9a58781+fcb1d3bbc8,gde0f65d7ad+6fce216140,ge278dab8ac+c61fbefdff,ge410e46f29+dd0349c22b,ge82c20c137+e12a08b75a,gf67bdafdda+dd0349c22b,v28.0.2.rc1
LSST Data Management Base Package
|
Public Member Functions | |
name (self) | |
noDup (self) | |
columns (self) | |
multilevelColumns (self, data, columnIndex=None, returnTuple=False) | |
__call__ (self, data, dropna=False) | |
difference (self, data1, data2, **kwargs) | |
fail (self, df) | |
shortname (self) | |
Public Attributes | |
filt = filt | |
str | dataset = dataset if dataset is not None else self._defaultDataset |
log = logging.getLogger(type(self).__name__) | |
name | |
Protected Member Functions | |
_func (self, df) | |
_get_data_columnLevels (self, data, columnIndex=None) | |
_get_data_columnLevelNames (self, data, columnIndex=None) | |
_colsFromDict (self, colDict, columnIndex=None) | |
_get_columnIndex (self, data) | |
_get_data (self, data) | |
_setLevels (self, df) | |
_dropna (self, vals) | |
Protected Attributes | |
_noDup = noDup | |
Static Protected Attributes | |
tuple | _columns |
str | _defaultDataset = 'ref' |
tuple | _dfLevels = ('column',) |
bool | _defaultNoDup = False |
Functor to calculate the HSM trace radius size difference (%) between the object and the PSF model. See Also -------- HsmTraceSize
Definition at line 1076 of file functors.py.
|
inherited |
Definition at line 348 of file functors.py.
|
protectedinherited |
Converts dictionary column specficiation to a list of columns.
Definition at line 218 of file functors.py.
|
protectedinherited |
Definition at line 345 of file functors.py.
|
protected |
Reimplemented from lsst.pipe.tasks.functors.Functor.
Definition at line 1091 of file functors.py.
|
protectedinherited |
Return columnIndex.
Definition at line 294 of file functors.py.
|
protectedinherited |
Retrieve DataFrame necessary for calculation. The data argument can be a `~pandas.DataFrame`, a `~lsst.daf.butler.DeferredDatasetHandle`, or an `~lsst.pipe.base.InMemoryDatasetHandle`. Returns a DataFrame upon which `self._func` can act.
Definition at line 302 of file functors.py.
|
protectedinherited |
Gets the content of each of the column levels for a multilevel table.
Definition at line 204 of file functors.py.
|
protectedinherited |
Gets the names of the column index levels. This should only be called in the context of a multilevel table. Parameters ---------- data : various The data to be read, can be a `~lsst.daf.butler.DeferredDatasetHandle` or `~lsst.pipe.base.InMemoryDatasetHandle`. columnIndex (optional): pandas `~pandas.Index` object If not passed, then it is read from the `~lsst.daf.butler.DeferredDatasetHandle` for `~lsst.pipe.base.InMemoryDatasetHandle`.
Definition at line 184 of file functors.py.
|
protectedinherited |
Definition at line 340 of file functors.py.
|
inherited |
Columns required to perform calculation.
Reimplemented in lsst.pipe.tasks.functors.Color, lsst.pipe.tasks.functors.Column, lsst.pipe.tasks.functors.CompositeFunctor, lsst.pipe.tasks.functors.ComputePixelScale, lsst.pipe.tasks.functors.ConvertDetectorAngleToPositionAngle, lsst.pipe.tasks.functors.ConvertPixelSqToArcsecondsSq, lsst.pipe.tasks.functors.ConvertPixelToArcseconds, lsst.pipe.tasks.functors.CustomFunctor, lsst.pipe.tasks.functors.E1, lsst.pipe.tasks.functors.E2, lsst.pipe.tasks.functors.LocalDipoleDiffFlux, lsst.pipe.tasks.functors.LocalDipoleDiffFluxErr, lsst.pipe.tasks.functors.LocalDipoleMeanFlux, lsst.pipe.tasks.functors.LocalDipoleMeanFluxErr, lsst.pipe.tasks.functors.LocalNanojansky, lsst.pipe.tasks.functors.LocalNanojanskyErr, lsst.pipe.tasks.functors.Mag, lsst.pipe.tasks.functors.MagDiff, lsst.pipe.tasks.functors.MagErr, lsst.pipe.tasks.functors.NanoJanskyErr, lsst.pipe.tasks.functors.Photometry, lsst.pipe.tasks.functors.RadiusFromQuadrupole, and lsst.pipe.tasks.functors.ReferenceBand.
Definition at line 178 of file functors.py.
|
inherited |
Computes difference between functor called on two different DataFrame/Handle objects.
Definition at line 360 of file functors.py.
|
inherited |
Definition at line 366 of file functors.py.
|
inherited |
Returns columns needed by functor from multilevel dataset. To access tables with multilevel column structure, the `~lsst.daf.butler.DeferredDatasetHandle` or `~lsst.pipe.base.InMemoryDatasetHandle` needs to be passed either a list of tuples or a dictionary. Parameters ---------- data : various The data as either `~lsst.daf.butler.DeferredDatasetHandle`, or `~lsst.pipe.base.InMemoryDatasetHandle`. columnIndex (optional): pandas `~pandas.Index` object Either passed or read in from `~lsst.daf.butler.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.
Reimplemented in lsst.pipe.tasks.functors.Color, and lsst.pipe.tasks.functors.CompositeFunctor.
Definition at line 237 of file functors.py.
|
inherited |
Full name of functor (suitable for figure labels).
Reimplemented in lsst.pipe.tasks.functors.Color, lsst.pipe.tasks.functors.Column, lsst.pipe.tasks.functors.ConvertPixelSqToArcsecondsSq, lsst.pipe.tasks.functors.ConvertPixelToArcseconds, lsst.pipe.tasks.functors.CustomFunctor, lsst.pipe.tasks.functors.LocalDipoleDiffFlux, lsst.pipe.tasks.functors.LocalDipoleDiffFluxErr, lsst.pipe.tasks.functors.LocalDipoleMeanFlux, lsst.pipe.tasks.functors.LocalDipoleMeanFluxErr, lsst.pipe.tasks.functors.LocalNanojansky, lsst.pipe.tasks.functors.LocalNanojanskyErr, lsst.pipe.tasks.functors.Mag, lsst.pipe.tasks.functors.MagDiff, lsst.pipe.tasks.functors.MagErr, and lsst.pipe.tasks.functors.Photometry.
Definition at line 370 of file functors.py.
|
inherited |
Do not explode by band if used on object table.
Definition at line 170 of file functors.py.
|
inherited |
Short name of functor (suitable for column name/dict key).
Reimplemented in lsst.pipe.tasks.functors.Color, and lsst.pipe.tasks.functors.MagDiff.
Definition at line 375 of file functors.py.
|
staticprotected |
Definition at line 1086 of file functors.py.
|
staticprotectedinherited |
Definition at line 159 of file functors.py.
|
staticprotectedinherited |
Definition at line 161 of file functors.py.
|
staticprotectedinherited |
Definition at line 160 of file functors.py.
|
protectedinherited |
Definition at line 166 of file functors.py.
|
inherited |
Definition at line 165 of file functors.py.
|
inherited |
Reimplemented in lsst.pipe.tasks.functors.Color, lsst.pipe.tasks.functors.Color, lsst.pipe.tasks.functors.CompositeFunctor, and lsst.pipe.tasks.functors.CompositeFunctor.
Definition at line 164 of file functors.py.
|
inherited |
Definition at line 167 of file functors.py.
|
inherited |
Reimplemented in lsst.pipe.tasks.functors.Color, lsst.pipe.tasks.functors.Column, lsst.pipe.tasks.functors.ConvertPixelSqToArcsecondsSq, lsst.pipe.tasks.functors.ConvertPixelToArcseconds, lsst.pipe.tasks.functors.CustomFunctor, lsst.pipe.tasks.functors.LocalDipoleDiffFlux, lsst.pipe.tasks.functors.LocalDipoleDiffFluxErr, lsst.pipe.tasks.functors.LocalDipoleMeanFlux, lsst.pipe.tasks.functors.LocalDipoleMeanFluxErr, lsst.pipe.tasks.functors.LocalNanojansky, lsst.pipe.tasks.functors.LocalNanojanskyErr, lsst.pipe.tasks.functors.Mag, lsst.pipe.tasks.functors.MagDiff, lsst.pipe.tasks.functors.MagErr, and lsst.pipe.tasks.functors.Photometry.
Definition at line 353 of file functors.py.