SkyWcs¶
- 
class lsst.afw.geom.SkyWcs¶
- Bases: - lsst.afw.typehandling.Storable- Attributes Summary - isFits- isFlipped- Methods Summary - copyAtShiftedPixelOrigin(self, shift)- getCdMatrix(*args, **kwargs)- Overloaded function. - getFitsMetadata(self, precise)- getFrameDict(self)- getPixelOrigin(self)- getPixelScale(*args, **kwargs)- Overloaded function. - getSkyOrigin(self)- getTanWcs(self, pixel)- getTransform(self)- isPersistable(self)- linearizePixelToSky(*args, **kwargs)- Overloaded function. - linearizeSkyToPixel(*args, **kwargs)- Overloaded function. - pixelToSky(*args, **kwargs)- Overloaded function. - pixelToSkyArray(x, y[, degrees])- Convert numpy array pixels (x, y) to numpy array sky (ra, dec) positions. - readFits(*args, **kwargs)- Overloaded function. - readString(arg0)- skyToPixel(*args, **kwargs)- Overloaded function. - skyToPixelArray(ra, dec[, degrees])- Convert numpy array sky (ra, dec) positions to numpy array pixels (x, y). - writeFits(*args, **kwargs)- Overloaded function. - writeString(self)- Attributes Documentation - 
isFits¶
 - 
isFlipped¶
 - Methods Documentation - 
copyAtShiftedPixelOrigin(self: lsst.afw.geom.SkyWcs, shift: lsst.geom.Extent2D) → lsst.afw.geom.SkyWcs¶
 - 
getCdMatrix(*args, **kwargs)¶
- Overloaded function. - getCdMatrix(self: lsst.afw.geom.SkyWcs, pixel: lsst.geom.Point2D) -> numpy.ndarray[numpy.float64[2, 2]]
- getCdMatrix(self: lsst.afw.geom.SkyWcs) -> numpy.ndarray[numpy.float64[2, 2]]
 
 - 
getFitsMetadata(self: lsst.afw.geom.SkyWcs, precise: bool = False) → lsst.daf.base.propertyContainer.propertyList.PropertyList¶
 - 
getFrameDict(self: lsst.afw.geom.SkyWcs) → ast::FrameDict¶
 - 
getPixelOrigin(self: lsst.afw.geom.SkyWcs) → lsst.geom.Point2D¶
 - 
getPixelScale(*args, **kwargs)¶
- Overloaded function. - getPixelScale(self: lsst.afw.geom.SkyWcs, pixel: lsst.geom.Point2D) -> lsst.geom.Angle
- getPixelScale(self: lsst.afw.geom.SkyWcs) -> lsst.geom.Angle
 
 - 
getSkyOrigin(self: lsst.afw.geom.SkyWcs) → lsst.geom.SpherePoint¶
 - 
getTanWcs(self: lsst.afw.geom.SkyWcs, pixel: lsst.geom.Point2D) → lsst.afw.geom.SkyWcs¶
 - 
getTransform(self: lsst.afw.geom.SkyWcs) → lsst.afw.geom.TransformPoint2ToSpherePoint¶
 - 
isPersistable(self: lsst.afw.geom.SkyWcs) → bool¶
 - 
linearizePixelToSky(*args, **kwargs)¶
- Overloaded function. - linearizePixelToSky(self: lsst.afw.geom.SkyWcs, coord: lsst.geom.SpherePoint, skyUnit: lsst.geom.AngleUnit) -> lsst.geom.AffineTransform
- linearizePixelToSky(self: lsst.afw.geom.SkyWcs, coord: lsst.geom.Point2D, skyUnit: lsst.geom.AngleUnit) -> lsst.geom.AffineTransform
 
 - 
linearizeSkyToPixel(*args, **kwargs)¶
- Overloaded function. - linearizeSkyToPixel(self: lsst.afw.geom.SkyWcs, coord: lsst.geom.SpherePoint, skyUnit: lsst.geom.AngleUnit) -> lsst.geom.AffineTransform
- linearizeSkyToPixel(self: lsst.afw.geom.SkyWcs, coord: lsst.geom.Point2D, skyUnit: lsst.geom.AngleUnit) -> lsst.geom.AffineTransform
 
 - 
pixelToSky(*args, **kwargs)¶
- Overloaded function. - pixelToSky(self: lsst.afw.geom.SkyWcs, pixel: lsst.geom.Point2D) -> lsst.geom.SpherePoint
- pixelToSky(self: lsst.afw.geom.SkyWcs, x: float, y: float) -> lsst.geom.SpherePoint
- pixelToSky(self: lsst.afw.geom.SkyWcs, pixel: List[lsst.geom.Point2D]) -> List[lsst.geom.SpherePoint]
 
 - 
pixelToSkyArray(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. 
 
- x : 
 - 
static readFits(*args, **kwargs)¶
- Overloaded function. - readFits(fileName: str, hdu: int = -2147483648) -> lsst.afw.geom.SkyWcs
- readFits(manager: lsst::afw::fits::MemFileManager, hdu: int = -2147483648) -> lsst.afw.geom.SkyWcs
 
 - 
static readString(arg0: str) → lsst.afw.geom.SkyWcs¶
 - 
skyToPixel(*args, **kwargs)¶
- Overloaded function. - skyToPixel(self: lsst.afw.geom.SkyWcs, sky: lsst.geom.SpherePoint) -> lsst.geom.Point2D
- skyToPixel(self: lsst.afw.geom.SkyWcs, sky: List[lsst.geom.SpherePoint]) -> List[lsst.geom.Point2D]
 
 - 
skyToPixelArray(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. 
 
- ra : 
 - 
writeFits(*args, **kwargs)¶
- Overloaded function. - writeFits(self: lsst.afw.geom.SkyWcs, fileName: str, mode: str = ‘w’) -> None
- writeFits(self: lsst.afw.geom.SkyWcs, manager: lsst::afw::fits::MemFileManager, mode: str = ‘w’) -> None
 
 - 
writeString(self: lsst.afw.geom.SkyWcs) → str¶
 
-