HipsDrawResult¶
-
class
hips.HipsDrawResult(image: numpy.ndarray, geometry: hips.utils.wcs.WCSGeometry, tile_format: str, tiles: typing.List[hips.tiles.tile.HipsTile], stats: dict) → None[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(…)Make a HipsDrawResultfrom aHipsTilePainter.plot(() -> None)Plot the all sky image and overlay HiPS tile outlines. report(() -> None)Print a brief report for the fetched data. write_image((filename: str) -> None)Write image to file. Methods Documentation
-
classmethod
from_painter(painter: hips.draw.paint.HipsPainter) → hips.draw.ui.HipsDrawResult[source]¶ Make a
HipsDrawResultfrom aHipsTilePainter.
-
classmethod