Skip to content

Commit 5685c70

Browse files
authored
Merge pull request #2137 from lvalerom/fix_xmm_docs
Fix docs examples for xmm newton
2 parents d665880 + 9afc1dd commit 5685c70

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/esa/xmm_newton.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,11 @@ This will show the column details of the table 'v_all_observations' in XSA TAP s
130130
131131
>>> from astroquery.esa.xmm_newton import XMMNewton
132132
>>>
133-
>>> XMMNewton.get_epic_images('tarfile.tar', band=[1,2], instrument=['M1'])
134-
{1: {'M1': '/home/dev/esa/0405320501/pps/P0405320501M1S002IMAGE_1000.FTZ'}, 2: {'M1': '/home/dev/esa/0405320501/pps/P0405320501M1S002IMAGE_2000.FTZ'}}
133+
>>> XMMNewton.download_data('0405320501')
134+
Downloading URL http://nxsa.esac.esa.int/nxsa-sl/servlet/data-action-aio?obsno=0405320501 to 0405320501.tar ...
135+
|===================================================================================================================================================| 540M/540M (100.00%) 57s
136+
>>> XMMNewton.get_epic_images('0405320501.tar', band=[1,2], instrument=['M1'])
137+
{1: {'M1': '/home/esa/0405320501/pps/P0405320501M1S002IMAGE_1000.FTZ'}, 2: {'M1': '/home/esa/0405320501/pps/P0405320501M1S002IMAGE_2000.FTZ'}}
135138
136139
This will extract the European Photon Imaging Camera (EPIC) images within the specified TAR file, bands, and instruments. It will also return a dictionary containing the paths to the extracted files.
137140

0 commit comments

Comments
 (0)