Definition at line 36 of file skyWcs.py.
◆ pixelToSkyArray()
def lsst.afw.geom.skyWcs.SkyWcs.pixelToSkyArray |
( |
|
self, |
|
|
|
x, |
|
|
|
y, |
|
|
|
degrees = False |
|
) |
| |
Convert numpy array pixels (x, y) to numpy array sky (ra, dec)
positions.
Parameters
----------
x : `np.ndarray`
Array of x values.
y : `np.ndarray`
Array of y values.
degrees : `bool`, optional
Return ra, dec arrays in degrees if True.
Returns
-------
ra : `np.ndarray`
Array of Right Ascension. Units are radians unless
degrees=True.
dec : `np.ndarray`
Array of Declination. Units are radians unless
degrees=True.
Definition at line 37 of file skyWcs.py.
◆ skyToPixelArray()
def lsst.afw.geom.skyWcs.SkyWcs.skyToPixelArray |
( |
|
self, |
|
|
|
ra, |
|
|
|
dec, |
|
|
|
degrees = False |
|
) |
| |
Convert numpy array sky (ra, dec) positions to numpy array
pixels (x, y).
Parameters
----------
ra : `np.ndarray`
Array of Right Ascension. Units are radians unless
degrees=True.
dec : `np.ndarray`
Array of Declination. Units are radians unless
degrees=True.
degrees : `bool`, optional
Input ra, dec arrays are degrees if True.
Returns
-------
x : `np.ndarray`
Array of x values.
y : `np.ndarray`
Array of y values.
Definition at line 69 of file skyWcs.py.
The documentation for this class was generated from the following file: