|
lsst.pipe.tasks gd5638573c2+392ae78cd2
|
Public Member Functions | |
| __init__ (self, shape_1_1, shape_2_2, shape_1_2, colCD_1_1, colCD_1_2, colCD_2_1, colCD_2_2, **kwargs) | |
| columns (self) | |
| columns_ref (self) | |
| compute_ellipse_terms (self, df, bool sky=True) | |
| get_xx (self, df) | |
| get_yy (self, df) | |
| get_xy (self, df) | |
| sky_uu (self, df) | |
| sky_vv (self, df) | |
| sky_uv (self, df) | |
| get_g1 (self, df) | |
| get_g2 (self, df) | |
| get_trace (self, df) | |
| Public Member Functions inherited from lsst.pipe.tasks.functors.Functor | |
| __init__ (self, filt=None, dataset=None, noDup=None) | |
| noDup (self) | |
| multilevelColumns (self, data, columnIndex=None, returnTuple=False) | |
| __call__ (self, data, dropna=False) | |
| difference (self, data1, data2, **kwargs) | |
| fail (self, df) | |
| name (self) | |
| shortname (self) | |
Public Attributes | |
| shape_1_1 = shape_1_1 | |
| shape_2_2 = shape_2_2 | |
| shape_1_2 = shape_1_2 | |
| colCD_1_1 = colCD_1_1 | |
| colCD_1_2 = colCD_1_2 | |
| colCD_2_1 = colCD_2_1 | |
| colCD_2_2 = colCD_2_2 | |
| Public Attributes inherited from lsst.pipe.tasks.functors.Functor | |
| filt = filt | |
| str | dataset = dataset if dataset is not None else self._defaultDataset |
| log = logging.getLogger(type(self).__name__) | |
| name | |
Static Public Attributes | |
| bool | is_covariance = True |
Additional Inherited Members | |
| Protected Member Functions inherited from lsst.pipe.tasks.functors.Functor | |
| _get_data_columnLevels (self, data, columnIndex=None) | |
| _get_data_columnLevelNames (self, data, columnIndex=None) | |
| _colsFromDict (self, colDict, columnIndex=None) | |
| _func (self, df, dropna=True) | |
| _get_columnIndex (self, data) | |
| _get_data (self, data) | |
| _setLevels (self, df) | |
| _dropna (self, vals) | |
| Protected Attributes inherited from lsst.pipe.tasks.functors.Functor | |
| _noDup = noDup | |
| Static Protected Attributes inherited from lsst.pipe.tasks.functors.Functor | |
| str | _defaultDataset = 'ref' |
| tuple | _dfLevels = ('column',) |
| bool | _defaultNoDup = False |
Base class for functors that use shape moments and localWCS
Attributes
----------
is_covariance : bool
Whether the shape columns are terms of a covariance matrix. If False,
they will be assumed to be terms of a correlation matrix instead.
| lsst.pipe.tasks.functors.MomentsBase.columns | ( | self | ) |
Columns required to perform calculation.
Reimplemented from lsst.pipe.tasks.functors.Functor.
| lsst.pipe.tasks.functors.MomentsBase.columns_ref | ( | self | ) |
Return columns that are needed from the ref table.
| lsst.pipe.tasks.functors.MomentsBase.compute_ellipse_terms | ( | self, | |
| df, | |||
| bool | sky = True ) |
Return terms commonly used for ellipse parameterization conversions.
Parameters
----------
df
The data frame.
sky
Whether to compute the terms in sky coordinates.
If False, XX, YY and XY moments are used instead of
UU, VV and UV.
Returns
-------
xx_p_yy
The sum of the diagonal terms of the covariance.
xx_m_yy
The difference of the diagonal terms of the covariance.
t2
A term similar to the discriminant of the quadratic formula.
| lsst.pipe.tasks.functors.MomentsBase.get_g1 | ( | self, | |
| df ) |
Calculate shear-type ellipticity parameter G1.
| lsst.pipe.tasks.functors.MomentsBase.get_g2 | ( | self, | |
| df ) |
Calculate shear-type ellipticity parameter G2. This has the opposite sign as sky_uv in order to maintain consistency with the HSM moments sign convention.
| lsst.pipe.tasks.functors.MomentsBase.sky_uu | ( | self, | |
| df ) |
Return the component of the moments tensor aligned with the RA axis, in radians.
| lsst.pipe.tasks.functors.MomentsBase.sky_uv | ( | self, | |
| df ) |
Return the covariance of the moments tensor in ra, dec coordinates, in radians.
| lsst.pipe.tasks.functors.MomentsBase.sky_vv | ( | self, | |
| df ) |
Return the component of the moments tensor aligned with the dec axis, in radians.