Skip to content

Commit d7640c6

Browse files
committed
DOC: removing ipython dependency for narrative docs and fixing section numbering
1 parent ac00c33 commit d7640c6

File tree

1 file changed

+22
-27
lines changed

1 file changed

+22
-27
lines changed

docs/esa/iso/iso.rst

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. _astroquery.esa.iso:
22

3-
****************************************
3+
**************************************
44
ESA ISO Archive (`astroquery.esa.iso`)
5-
****************************************
5+
**************************************
66
The Infrared Space Observatory (ISO) was a space telescope for infrared light designed and
77
operated by the European Space Agency (ESA), in cooperation with ISAS (now part of JAXA) and NASA.
88
The ISO was designed to study infrared light at wavelengths of 2.5 to 240 micrometres and operated
@@ -20,9 +20,9 @@ ESA experts at ESAC.
2020
Examples
2121
========
2222

23-
------------------------------
23+
--------------------
2424
1. Querying ISO data
25-
------------------------------
25+
--------------------
2626

2727
.. doctest-remote-data::
2828

@@ -79,9 +79,9 @@ print(table).
7979
Once we have the observations identifiers (TDT) we can invoke the data download. To discover the tables
8080
provided by this service, see section 'Getting Tables Details'.
8181

82-
------------------------------
82+
-------------------
8383
2. Getting ISO data
84-
------------------------------
84+
-------------------
8585

8686
.. doctest-remote-data::
8787

@@ -153,33 +153,27 @@ we can loop on the observations to download the best products (DEFAULT_DATA_SET)
153153
INFO: http://nida.esac.esa.int/...
154154

155155

156-
-------------------------------
157-
2. Getting ISO postcards
158-
-------------------------------
156+
------------------------
157+
3. Getting ISO postcards
158+
------------------------
159+
160+
This will download the ISO postcard for the observation '80001538' and it will stored in a PNG called
161+
'postcard.png'.
159162

160163
.. doctest-remote-data::
161164

162165
>>> from astroquery.esa.iso import ISO
163-
>>> from IPython.display import Image
164-
>>> from IPython.core.display import HTML
165-
>>>
166166
>>> ISO.get_postcard('80001538', filename="postcard") # doctest: +IGNORE_OUTPUT
167167
Downloading URL http://nida.esac.esa.int/nida-sl-tap/data?retrieval_type=POSTCARD&DATA_RETRIEVAL_ORIGIN=astroquery&tdt=80001538 to /Users...
168-
>>> Image(filename = "postcard.png", width=400, height=100)
169-
<IPython.core.display.Image object>
170-
171168

172169
.. figure:: images/campostcard.png
173170
:scale: 100%
174171
:alt: Postcard image for observation 80001538
175172

176-
The resulting plot from the example above
177-
178-
This will download the ISO postcard for the observation '80001538' and it will stored in a PNG called
179-
'postcard.png'. Then, we display the postcard inside the python interface.
173+
The postcard downloaded in the example above
180174

181175
------------------------------------------
182-
3. Getting ISO Tables Details through TAP
176+
4. Getting ISO Tables Details through TAP
183177
------------------------------------------
184178

185179
.. doctest-remote-data::
@@ -207,7 +201,7 @@ This will download the ISO postcard for the observation '80001538' and it will s
207201
This will show the available tables in ISO TAP service in the ISO Data Archive.
208202

209203
-------------------------------------
210-
4. Getting columns details of ISO TAP
204+
5. Getting columns details of ISO TAP
211205
-------------------------------------
212206

213207
.. doctest-remote-data::
@@ -231,9 +225,9 @@ This will show the column details of the table 'ida.observations' in ISO TAP ser
231225
in the ISO Data Archive.
232226

233227

234-
-------------------------------------
235-
4. Working with ISO VO tables
236-
-------------------------------------
228+
-----------------------------
229+
6. Working with ISO VO tables
230+
-----------------------------
237231

238232
ISO provides Virtual Observatory compatible products and tables. Three different VO
239233
compatible tables are provided:
@@ -298,9 +292,10 @@ Same can be done to discover images M31 images:
298292
ISO CAM01 Image Target: M31_LW6 10.68375 41.26945 http://nida.esac.esa.int/nida-sl-tap/data?RETRIEVAL_TYPE=STANDALONE&obsno=583023050
299293
ISO CAM01 Image Target: M31_LW3 10.68375 41.26945 http://nida.esac.esa.int/nida-sl-tap/data?RETRIEVAL_TYPE=STANDALONE&obsno=583027030
300294

301-
-------------------------------------
302-
4. Working with ISO VO products
303-
-------------------------------------
295+
-------------------------------
296+
7. Working with ISO VO products
297+
-------------------------------
298+
304299
Either by invocation of the URL provided in every row of previous section or using the STANDALONE retrieval level, VO compatible products can be open using python astropy FITS module.
305300

306301
Images can be displayed by using the following code:

0 commit comments

Comments
 (0)