HipsDrawResult¶
-
class
hips.
HipsDrawResult
(image: numpy.ndarray, geometry: hips.utils.wcs.WCSGeometry, tile_format: str, tiles: List[hips.tiles.tile.HipsTile], stats: dict)[source]¶ Bases:
object
HiPS draw result object (sky image and more).
Parameters: image :
ndarray
Sky image (the main result)
geometry :
WCSGeometry
WCS geometry of the sky image
tile_format : {‘fits’, ‘jpg’, ‘png’}
Format of HiPS tile
tiles : list
Python list of
HipsTile
objects that were usedstats : dict
Information including time for fetching and drawing HiPS tiles
Methods Summary
from_painter
(painter)Make a HipsDrawResult
from aHipsTilePainter
.plot
(show_grid)Plot the all sky image and overlay HiPS tile outlines. report
()Print a brief report for the fetched data. write_image
(filename, overwrite)Write image to file. Methods Documentation
-
classmethod
from_painter
(painter: hips.draw.paint.HipsPainter) → hips.draw.ui.HipsDrawResult[source]¶ Make a
HipsDrawResult
from aHipsTilePainter
.
-
classmethod