Skip to content

Commit 0d83917

Browse files
committed
Fix docs issues for hips2fits
1 parent 8696119 commit 0d83917

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

astroquery/hips2fits/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ def query_with_wcs(self, hips, wcs, format="fits", min_cut=0.5, max_cut=99.5, st
7171
See the list of valid HiPS ids hosted by the CDS `here <http://aladin.unistra.fr/hips/list>`_.
7272
wcs : `~astropy.wcs.WCS`
7373
An astropy WCS defining the astrometry you wish.
74-
Alternatively, you can pass lon, lat, fov, coordsys keywords (if so, please use the
75-
:meth:`~astroquery.hips2fits.hips2fitsClass.query_with_user_defined_wcs` method).
74+
Alternatively, you can pass lon, lat, fov, coordsys keywords.
7675
format : str, optional
7776
Format of the output image.
7877
Allowed values are fits (default), jpg and png

docs/hips2fits/hips2fits.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Query the `CDS hips2fits service <http://alasky.u-strasbg.fr/hips-image-services
1313

1414
The `CDS hips2fits service <http://alasky.u-strasbg.fr/hips-image-services/hips2fits>`_ offers a way
1515
to 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
16+
order to produce a progressive hierarchical sky map describing the whole survey. Please refer to the
1717
`IVOA paper <http://www.ivoa.net/documents/HiPS/20170519/REC-HIPS-1.0-20170519.pdf>`_ for more info.
1818

1919
Given an astropy user-defined WCS with a HiPS name,
@@ -35,7 +35,7 @@ Examples
3535
========
3636

3737
With a user defined astropy WCS
38-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38+
-------------------------------
3939

4040
.. code-block:: python
4141
@@ -75,7 +75,7 @@ With a user defined astropy WCS
7575
.. image:: ./query_wcs.png
7676

7777
Without WCS
78-
~~~~~~~~~~~
78+
-----------
7979

8080
>>> from astroquery.hips2fits import hips2fits
8181
>>> import matplotlib.pyplot as plt
@@ -110,4 +110,3 @@ Reference/API
110110

111111

112112
.. _hips2fits: http://alasky.u-strasbg.fr/hips-image-services/hips2fits
113-

0 commit comments

Comments
 (0)