1- .. doctest-skip-all
2-
31.. _astroquery.hips2fits :
42
53******************************************
@@ -13,7 +11,7 @@ Query the `CDS hips2fits service <http://alasky.u-strasbg.fr/hips-image-services
1311
1412The `CDS hips2fits service <http://alasky.u-strasbg.fr/hips-image-services/hips2fits >`_ offers a way
1513to extract FITS images from HiPS sky maps. HiPS is an IVOA standard that combines individual images in
16- order to produce a progressive hierarchical sky map describing the whole survey. Please refer to the
14+ order to produce a progressive hierarchical sky map describing the whole survey. Please refer to the
1715`IVOA paper <http://www.ivoa.net/documents/HiPS/20170519/REC-HIPS-1.0-20170519.pdf >`_ for more info.
1816
1917Given an astropy user-defined WCS with a HiPS name,
@@ -38,6 +36,7 @@ With a user defined astropy WCS
3836~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3937
4038.. code-block :: python
39+ .. doctest-remote-data ::
4140
4241 >>> from astroquery.hips2fits import hips2fits
4342 >>> import matplotlib.pyplot as plt
@@ -70,12 +69,14 @@ With a user defined astropy WCS
7069 ... cmap= Colormap(' viridis' ),
7170 ... )
7271 >>> im = plt.imshow(result)
73- >> > plt.show(im)
72+ >>> plt.show() # doctest: +IGNORE_OUTPUT
7473
7574.. image :: ./query_wcs.png
7675
7776Without WCS
7877~~~~~~~~~~~
78+ .. code-block :: python
79+ .. doctest-remote-data ::
7980
8081 >>> from astroquery.hips2fits import hips2fits
8182 >>> import matplotlib.pyplot as plt
@@ -98,7 +99,7 @@ Without WCS
9899 ... cmap= Colormap(' viridis' ),
99100 ... )
100101 >>> im = plt.imshow(result)
101- >>> plt.show(im)
102+ >>> plt.show() # doctest: +IGNORE_OUTPUT
102103
103104.. image :: ./query_no_wcs.png
104105
@@ -110,4 +111,3 @@ Reference/API
110111
111112
112113.. _hips2fits : http://alasky.u-strasbg.fr/hips-image-services/hips2fits
113-
0 commit comments