|
lsst.display.matplotlib gb32d437585+cb1993dea9
|
Classes | |
| class | _AstStringSource |
| class | WcsAxesManager |
Functions | |
| astFrameSetFromWcs (wcs) | |
Draw sky coordinate axes on a matplotlib Axes using AST. The axes are drawn by `starlink.Ast.Plot` using the matplotlib grf plugin, so arbitrary AST WCS transforms are supported with no FITS approximation.
| astFrameSetFromWcs | ( | wcs | ) |
Convert an afw SkyWcs to a starlink-pyast FrameSet.
Parameters
----------
wcs : `lsst.afw.geom.SkyWcs`
The WCS to convert.
Returns
-------
frameSet : `starlink.Ast.FrameSet`
FrameSet whose base frame is LSST 0-based pixel coordinates
(domain ``PIXELS``) and whose current frame is sky coordinates
in radians (domain ``SKY``).
Notes
-----
The conversion serializes the WCS's underlying `astshim.FrameDict`
to AST native text and reads it back with pyast, so the result is
exact; no FITS approximation is involved.