Skip to content

Commit 8f7d224

Browse files
Jorge Fernandez HernandezJorge Fernandez Hernandez
authored andcommitted
EUCLIDPCR-1863 Update help for the method get_spectrum
1 parent e2088e5 commit 8f7d224

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/esa/euclid/euclid.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,15 @@ The following example shows how to retrieve the DataLink products (1D Spectra) a
12251225
.. Skipping authentication requiring examples
12261226
.. doctest-skip::
12271227

1228-
>>> datalink = Euclid.get_spectrum(source_id='2417660845403252054')
1228+
>>> files = Euclid.get_spectrum(source_id='2675005060662306333')
1229+
>>> from astropy.io import fits
1230+
>>> print(fits.info(files[0]))
1231+
Filename: /home/astroquery/temp_20250225_204959/2675005060662306333.fits
1232+
No. Name Ver Type Cards Dimensions Format
1233+
0 PRIMARY 1 PrimaryHDU 4 ()
1234+
1 2675005060662306333 1 BinTableHDU 35 531R x 6C [1E, 1E, 1J, 1E, 1E, 1I]
1235+
None
1236+
12291237

12301238
A fits file is made if no file name is provided.
12311239

0 commit comments

Comments
 (0)