lsst.display.astrowidgets g5320a0a9f6+f84dd1651f
|
Public Member Functions | |
def | __init__ (self, wcs) |
def | pixtoradec (self, idxs, coords='data') |
def | pixtosystem (self, idxs, system=None, coords='data') |
def | radectopix (self, ra_deg, dec_deg, coords='data', naxispath=None) |
def | all_pix2world (self, *args, **kwargs) |
def | datapt_to_wcspt (self, *args) |
def | wcspt_to_datapt (self, *args) |
A class to adapt the LSST Wcs class for Ginga. This was taken largely from the afw.display.ginga package. Parameters ---------- wcs : `ginga.util.wcsmod.wcs_astropy` WCS to adapt for Ginga.
Definition at line 501 of file astrowidgets.py.
def lsst.display.astrowidgets.astrowidgets.WcsAdaptorForGinga.__init__ | ( | self, | |
wcs | |||
) |
Definition at line 511 of file astrowidgets.py.
def lsst.display.astrowidgets.astrowidgets.WcsAdaptorForGinga.all_pix2world | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
Definition at line 576 of file astrowidgets.py.
def lsst.display.astrowidgets.astrowidgets.WcsAdaptorForGinga.datapt_to_wcspt | ( | self, | |
* | args | ||
) |
Definition at line 584 of file astrowidgets.py.
def lsst.display.astrowidgets.astrowidgets.WcsAdaptorForGinga.pixtoradec | ( | self, | |
idxs, | |||
coords = 'data' |
|||
) |
Return (ra, dec) in degrees given a position in pixels. Parameters ---------- idxs : `list` [`tuple` [`float`, `float`]] Pixel locations to convert. coords : `str`, optional This parameter is ignored. Returns ------- ra : `list` RA position in degrees. dec : `list` DEC position in degrees.
Definition at line 514 of file astrowidgets.py.
def lsst.display.astrowidgets.astrowidgets.WcsAdaptorForGinga.pixtosystem | ( | self, | |
idxs, | |||
system = None , |
|||
coords = 'data' |
|||
) |
Return (ra, dec) in degrees given a position in pixels. Parameters ---------- idxs : `list` [`tuple` [`float`, `float`]] Pixel locations to convert. system : `str`, optional This parameter is ignored. coords : `str`, optional This parameter is ignored. Returns ------- ra : `list` RA position in degrees. dec : `list` DEC position in degrees.
Definition at line 534 of file astrowidgets.py.
def lsst.display.astrowidgets.astrowidgets.WcsAdaptorForGinga.radectopix | ( | self, | |
ra_deg, | |||
dec_deg, | |||
coords = 'data' , |
|||
naxispath = None |
|||
) |
Return (x, y) in pixels given (ra, dec) in degrees Parameters ---------- ra_deg : `list` [`float`] RA position in degrees. dec_deg : `list` [`float`] DEC position in degrees. coords : `str`, optional This parameter is ignored. naxispath : `str`, optional This parameter is ignored. Returns ------- out : `tuple` [`list` [`float, `float`]] Image coordates for input positions.
Definition at line 555 of file astrowidgets.py.
def lsst.display.astrowidgets.astrowidgets.WcsAdaptorForGinga.wcspt_to_datapt | ( | self, | |
* | args | ||
) |
Definition at line 587 of file astrowidgets.py.