From 9423549e6445eff6d662d6edbba5e8172c60b85e Mon Sep 17 00:00:00 2001 From: Brigitta Sipocz Date: Mon, 11 Jan 2021 19:05:52 -0800 Subject: [PATCH] Fix docs issues for hips2fits --- astroquery/hips2fits/core.py | 3 +-- docs/hips2fits/hips2fits.rst | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/astroquery/hips2fits/core.py b/astroquery/hips2fits/core.py index 6a23b5708e..c48971fe2f 100644 --- a/astroquery/hips2fits/core.py +++ b/astroquery/hips2fits/core.py @@ -71,8 +71,7 @@ def query_with_wcs(self, hips, wcs, format="fits", min_cut=0.5, max_cut=99.5, st See the list of valid HiPS ids hosted by the CDS `here `_. wcs : `~astropy.wcs.WCS` An astropy WCS defining the astrometry you wish. - Alternatively, you can pass lon, lat, fov, coordsys keywords (if so, please use the - :meth:`~astroquery.hips2fits.hips2fitsClass.query_with_user_defined_wcs` method). + Alternatively, you can pass lon, lat, fov, coordsys keywords. format : str, optional Format of the output image. Allowed values are fits (default), jpg and png diff --git a/docs/hips2fits/hips2fits.rst b/docs/hips2fits/hips2fits.rst index 342846f333..460b17da2d 100644 --- a/docs/hips2fits/hips2fits.rst +++ b/docs/hips2fits/hips2fits.rst @@ -13,7 +13,7 @@ Query the `CDS hips2fits service `_ offers a way to extract FITS images from HiPS sky maps. HiPS is an IVOA standard that combines individual images in -order to produce a progressive hierarchical sky map describing the whole survey. Please refer to the +order to produce a progressive hierarchical sky map describing the whole survey. Please refer to the `IVOA paper `_ for more info. Given an astropy user-defined WCS with a HiPS name, @@ -35,7 +35,7 @@ Examples ======== With a user defined astropy WCS -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +------------------------------- .. code-block:: python @@ -75,7 +75,7 @@ With a user defined astropy WCS .. image:: ./query_wcs.png Without WCS -~~~~~~~~~~~ +----------- >>> from astroquery.hips2fits import hips2fits >>> import matplotlib.pyplot as plt @@ -110,4 +110,3 @@ Reference/API .. _hips2fits: http://alasky.u-strasbg.fr/hips-image-services/hips2fits -