lsst.pipe.tasks gd5638573c2+392ae78cd2
Loading...
Searching...
No Matches
lsst.pipe.tasks.functors.ComputePixelScale Class Reference
Inheritance diagram for lsst.pipe.tasks.functors.ComputePixelScale:
lsst.pipe.tasks.functors.LocalWcs lsst.pipe.tasks.functors.Functor lsst.pipe.tasks.functors.ConvertPixelSqToArcsecondsSq lsst.pipe.tasks.functors.ConvertPixelToArcseconds

Public Member Functions

 columns (self)
 pixelScaleArcseconds (self, cd11, cd12, cd21, cd22)
Public Member Functions inherited from lsst.pipe.tasks.functors.LocalWcs
 __init__ (self, colCD_1_1, colCD_1_2, colCD_2_1, colCD_2_2, **kwargs)
 computeDeltaRaDec (self, x, y, cd11, cd12, cd21, cd22)
 computeSkySeparation (self, ra1, dec1, ra2, dec2)
 getSkySeparationFromPixel (self, x1, y1, x2, y2, cd11, cd12, cd21, cd22)
 computePositionAngle (self, ra1, dec1, ra2, dec2)
 getPositionAngleFromDetectorAngle (self, theta, cd11, cd12, cd21, cd22)
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)

Protected Member Functions

 _func (self, df)
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)
 _get_columnIndex (self, data)
 _get_data (self, data)
 _setLevels (self, df)
 _dropna (self, vals)

Additional Inherited Members

Public Attributes inherited from lsst.pipe.tasks.functors.LocalWcs
 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
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

Detailed Description

Compute the local pixel scale from the stored CDMatrix.

Member Function Documentation

◆ _func()

lsst.pipe.tasks.functors.ComputePixelScale._func ( self,
df )
protected

Reimplemented from lsst.pipe.tasks.functors.Functor.

◆ columns()

lsst.pipe.tasks.functors.ComputePixelScale.columns ( self)

◆ pixelScaleArcseconds()

lsst.pipe.tasks.functors.ComputePixelScale.pixelScaleArcseconds ( self,
cd11,
cd12,
cd21,
cd22 )
Compute the local pixel to scale conversion in arcseconds.

Parameters
----------
cd11 : `~pandas.Series`
    [1, 1] element of the local Wcs affine transform in radians.
cd11 : `~pandas.Series`
    [1, 1] element of the local Wcs affine transform in radians.
cd12 : `~pandas.Series`
    [1, 2] element of the local Wcs affine transform in radians.
cd21 : `~pandas.Series`
    [2, 1] element of the local Wcs affine transform in radians.
cd22 : `~pandas.Series`
    [2, 2] element of the local Wcs affine transform in radians.

Returns
-------
pixScale : `~pandas.Series`
    Arcseconds per pixel at the location of the local WC.

The documentation for this class was generated from the following file:
  • python/lsst/pipe/tasks/functors.py