@@ -1169,7 +1169,7 @@ To find out the resources associated with a given source:
1169
1169
>>> datalink = Euclid.get_datalinks(ids = ids)
1170
1170
1171
1171
1172
- The query below retrieves a random sample of Euclid sources having spectra, i.e., ancillary products .
1172
+ The query below retrieves a random sample of Euclid sources having spectra.
1173
1173
1174
1174
.. Skipping authentication requiring examples
1175
1175
.. doctest-skip ::
@@ -1213,27 +1213,9 @@ The following example shows how to retrieve the DataLink products (1D Spectra) a
1213
1213
.. Skipping authentication requiring examples
1214
1214
.. doctest-skip ::
1215
1215
1216
- >>> from astroquery.esa.euclid import Euclid
1217
- >>> params_dict = {}
1218
- >>> params_dict[' ID' ]= ' ,' .join(str (item) for item in results[' object_id' ])
1219
- >>> params_dict[' RETRIEVAL_TYPE' ] = ' SPECTRA'
1220
- >>> datalink = Euclid.load_data(params_dict = params_dict)
1221
-
1222
- The DataLink products are stored inside a Python Dictionary. Each of its elements (keys) contains a one-element list that can be extracted as follows:
1223
-
1224
- .. Skipping authentication requiring examples
1225
- .. doctest-skip ::
1226
-
1227
- >>> dl_keys = [inp for inp in datalink.keys()]
1228
- >>> dl_keys.sort()
1229
- >>> print (f ' The following Datalink products have been downloaded: ' )
1230
- >>> for dl_key in dl_keys:
1231
- ... print (f ' * { dl_key} ' )
1232
-
1233
- .. Note ::
1216
+ >>> datalink = Euclid.get_spectrum(source_id = ' 2417660845403252054' )
1234
1217
1235
- It is not possible to search for and retrieve the DataLink products associated with more than 5000 sources in one and the same call.
1236
- However, it is possible to overcome this limit programmatically using a sequential download.
1218
+ A fits file is made if no file name is provided.
1237
1219
1238
1220
.. _DataLink : https://www.ivoa.net/documents/DataLink/
1239
1221
0 commit comments