|
|
| __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) |
|
| __init__ (self, filt=None, dataset=None, noDup=None) |
| | noDup (self) |
| | columns (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) |
Computations using the stored localWcs.
| lsst.pipe.tasks.functors.LocalWcs.computeDeltaRaDec |
( |
| self, |
|
|
| x, |
|
|
| y, |
|
|
| cd11, |
|
|
| cd12, |
|
|
| cd21, |
|
|
| cd22 ) |
Compute the dRA, dDec from dx, dy.
Parameters
----------
x : `~pandas.Series`
X pixel coordinate.
y : `~pandas.Series`
Y pixel coordinate.
cd11 : `~pandas.Series`
[1, 1] element of the local Wcs affine transform.
cd12 : `~pandas.Series`
[1, 2] element of the local Wcs affine transform.
cd21 : `~pandas.Series`
[2, 1] element of the local Wcs affine transform.
cd22 : `~pandas.Series`
[2, 2] element of the local Wcs affine transform.
Returns
-------
raDecTuple : tuple
RA and Dec conversion of x and y given the local Wcs.
Returned units are in radians.
Notes
-----
If x and y are with respect to the CRVAL1, CRVAL2
then this will return the RA, Dec for that WCS.
| lsst.pipe.tasks.functors.LocalWcs.computePositionAngle |
( |
| self, |
|
|
| ra1, |
|
|
| dec1, |
|
|
| ra2, |
|
|
| dec2 ) |
Compute position angle (E of N) from (ra1, dec1) to (ra2, dec2).
Parameters
----------
ra1 : iterable [`float`]
RA of the first coordinate [radian].
dec1 : iterable [`float`]
Dec of the first coordinate [radian].
ra2 : iterable [`float`]
RA of the second coordinate [radian].
dec2 : iterable [`float`]
Dec of the second coordinate [radian].
Returns
-------
Position Angle: `~pandas.Series`
radians E of N
Notes
-----
(ra1, dec1) -> (ra2, dec2) is interpreted as the shorter way around the sphere
For a separation of 0.0001 rad, the position angle is good to 0.0009 rad
all over the sphere.
| lsst.pipe.tasks.functors.LocalWcs.getSkySeparationFromPixel |
( |
| self, |
|
|
| x1, |
|
|
| y1, |
|
|
| x2, |
|
|
| y2, |
|
|
| cd11, |
|
|
| cd12, |
|
|
| cd21, |
|
|
| cd22 ) |
Compute the distance on the sphere from x2, y1 to x1, y1.
Parameters
----------
x1 : `~pandas.Series`
X pixel coordinate.
y1 : `~pandas.Series`
Y pixel coordinate.
x2 : `~pandas.Series`
X pixel coordinate.
y2 : `~pandas.Series`
Y pixel coordinate.
cd11 : `~pandas.Series`
[1, 1] element of the local Wcs affine transform.
cd12 : `~pandas.Series`
[1, 2] element of the local Wcs affine transform.
cd21 : `~pandas.Series`
[2, 1] element of the local Wcs affine transform.
cd22 : `~pandas.Series`
[2, 2] element of the local Wcs affine transform.
Returns
-------
Distance : `~pandas.Series`
Arcseconds per pixel at the location of the local WC.