Skip to content

Commit 1f98ec9

Browse files
committed
MAINT: adding docsbuild fixes
1 parent 86a6702 commit 1f98ec9

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

astroquery/esasky/core.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,11 +1146,12 @@ def get_images(self, *, position=None, observation_ids=None, radius=__ZERO_ARCMI
11461146
--------
11471147
get_images(position="m101", radius="14'", missions="all")
11481148
1149-
missions = ["SUZAKU", "ISO-IR", "Chandra", "XMM-OM-OPTICAL", "XMM", "XMM-OM-UV", "HST-IR", "Herschel",
1149+
missions = ["SUZAKU", "ISO-IR", "Chandra", "XMM-OM-OPTICAL", "XMM", "XMM-OM-UV", "HST-IR", "Herschel", \
11501150
"Spitzer", "HST-UV", "HST-OPTICAL"]
1151-
observation_ids = ["100001010", "01500403", "21171", "0852000101", "0851180201", "0851180201", "n3tr01c3q",
1151+
observation_ids = ["100001010", "01500403", "21171", "0852000101", "0851180201", "0851180201", "n3tr01c3q", \
11521152
"1342247257", "30002561-25100", "hst_07553_3h_wfpc2_f160bw_pc", "ocli05leq"]
11531153
get_images(observation_ids=observation_ids, missions=missions)
1154+
11541155
"""
11551156
if position is None and observation_ids is None:
11561157
raise ValueError("An input is required for either position or observation_ids.")

astroquery/hips2fits/core.py

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,14 @@ class hips2fitsClass(BaseQuery):
3939
4040
This package implements two methods:
4141
42-
* :meth:`~astroquery.hips2fits.hips2fitsClass.query_with_wcs` extracting a FITS image from a HiPS and an astropy
43-
``wcs.WCS``.
44-
See `here <http://aladin.unistra.fr/hips/list>`_ all the valid HiPS names hosted in CDS.
45-
* :meth:`~astroquery.hips2fits.hips2fitsClass.query` extracting a FITS image from a HiPS given the output image
46-
pixel size, the center of projection, the type of projection and the field of view.
47-
See `here <http://aladin.unistra.fr/hips/list>`_ all the valid HiPS names hosted in CDS.
42+
* `~astroquery.hips2fits.hips2fitsClass.query_with_wcs` extracting a FITS image from a HiPS and an
43+
astropy `~astropy.wcs.WCS`.
44+
See `here <http://aladin.unistra.fr/hips/list>`_ all the valid HiPS names hosted in CDS.
45+
46+
* `~astroquery.hips2fits.hips2fitsClass.query` extracting a FITS image from a HiPS given the output
47+
image pixel size, the center of projection, the type of projection and the field of view.
48+
See `here <http://aladin.unistra.fr/hips/list>`_ all the valid HiPS names hosted in CDS.
49+
4850
4951
"""
5052
server = conf.server
@@ -88,7 +90,7 @@ def query_with_wcs(self, hips, wcs, format="fits", min_cut=0.5, max_cut=99.5, st
8890
cmap : `~matplotlib.colors.Colormap` or str, optional
8991
Name of the color map.
9092
Only applicable to jpg/png output formats.
91-
Any `colormap supported by Matplotlib can be specified.
93+
Any colormap supported by Matplotlib can be specified.
9294
Default value is Greys_r (grayscale)
9395
get_query_payload : bool, optional
9496
If True, returns a dictionary of the query payload instead of the parsed response.
@@ -134,6 +136,7 @@ def query_with_wcs(self, hips, wcs, format="fits", min_cut=0.5, max_cut=99.5, st
134136
... )
135137
>>> im = plt.imshow(result)
136138
>>> plt.show(im)
139+
137140
"""
138141
response = self.query_with_wcs_async(get_query_payload, hips=hips, wcs=wcs, format=format,
139142
min_cut=min_cut, max_cut=max_cut, stretch=stretch, cmap=cmap)
@@ -227,7 +230,7 @@ def query(self, hips, width, height, projection, ra, dec, fov, coordsys="icrs",
227230
cmap : `~matplotlib.colors.Colormap` or str, optional
228231
Name of the color map.
229232
Only applicable to jpg/png output formats.
230-
Any `colormap supported by Matplotlib can be specified.
233+
Any colormap supported by Matplotlib can be specified.
231234
Default value is Greys_r (grayscale)
232235
get_query_payload : bool, optional
233236
If True, returns a dictionary of the query payload instead of the parsed response.

0 commit comments

Comments
 (0)