|
LSST Applications g04e9c324dd+8c5ae1fdc5,g123d84c11c+8c5ae1fdc5,g1fd858c14a+f0198063e6,g262e1987ae+c6225025ea,g29a0cc5914+89c23462b9,g29ae962dfc+995a808b2f,g2cef7863aa+aef1011c0b,g35bb328faa+8c5ae1fdc5,g386d1ae640+e9e157c1c7,g3fd5ace14f+a961a9460f,g47891489e3+f62ff855a3,g4d44eb3520+56a94b3db7,g53246c7159+8c5ae1fdc5,g67b6fd64d1+f62ff855a3,g67fd3c3899+0d5d1c50aa,g71d780ea3c+cf951d6fc1,g7375c97bd6+b0659b51fd,g74acd417e5+29806445f4,g786e29fd12+668abc6043,g87389fa792+8856018cbb,g89139ef638+f62ff855a3,g8d7436a09f+fe340099f4,g8ea07a8fe4+72e50bfcbe,g90f42f885a+232124b352,g97be763408+3c512867c4,ga1e959baac+5fbc491aed,ga2a72113ab+fe106acc69,gabf8522325+f227d7ba3a,gac2eed3f23+f62ff855a3,gae5946ca99+0d5d1c50aa,gb89ab40317+f62ff855a3,gd14cc1c8cb+796e414499,gd8ff7fe66e+0d5d1c50aa,gdab6d2f7ff+29806445f4,gdc713202bf+0d5d1c50aa,ge410e46f29+f62ff855a3,geaed405ab2+2322f1d6ea,gffca2db377+8c5ae1fdc5,w.2025.32
LSST Data Management Base Package
|
Public Member Functions | |
| columns (self) | |
| sky_uu (self, df) | |
| sky_vv (self, df) | |
| sky_uv (self, df) | |
| name (self) | |
| noDup (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 | |
| shape_xx = shape_xx | |
| shape_yy = shape_yy | |
| shape_xy = shape_xy | |
| colCD_1_1 = colCD_1_1 | |
| colCD_1_2 = colCD_1_2 | |
| colCD_2_1 = colCD_2_1 | |
| colCD_2_2 = colCD_2_2 | |
| 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 | |
| str | _defaultDataset = 'ref' |
| tuple | _dfLevels = ('column',) |
| bool | _defaultNoDup = False |
Rotate pixel moments Ixx,Iyy,Iyy into ra,dec frame and arcseconds
Definition at line 2070 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 2076 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 from lsst.pipe.tasks.functors.Functor.
Definition at line 2011 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.
|
inherited |
Return the component of the moments tensor aligned with the RA axis, in radians.
Definition at line 2023 of file functors.py.
|
inherited |
Return the covariance of the moments tensor in ra, dec coordinates, in radians.
Definition at line 2045 of file functors.py.
|
inherited |
Return the component of the moments tensor aligned with the dec axis, in radians.
Definition at line 2034 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 2004 of file functors.py.
|
inherited |
Definition at line 2005 of file functors.py.
|
inherited |
Definition at line 2006 of file functors.py.
|
inherited |
Definition at line 2007 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.
|
inherited |
Definition at line 2001 of file functors.py.
|
inherited |
Definition at line 2003 of file functors.py.
|
inherited |
Definition at line 2002 of file functors.py.