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:
objectHiPS draw result object (sky image and more).
Parameters: image :
ndarraySky image (the main result)
geometry :
WCSGeometryWCS geometry of the sky image
tile_format : {‘fits’, ‘jpg’, ‘png’}
Format of HiPS tile
tiles : list
Python list of
HipsTileobjects that were usedstats : dict
Information including time for fetching and drawing HiPS tiles
Methods Summary
from_painter(painter)Make a HipsDrawResultfrom 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
HipsDrawResultfrom aHipsTilePainter.
-
classmethod