magpis doc cleanup
-.. doctest-skip-all
-
.. _astroquery.magpis:
*****************************************
@@ -17,13 +15,13 @@ functions or as coordinates using any of the coordinate systems available in
`~astropy.io.fits.HDUList` object. Here is a sample query:
.. code-block:: python
-
+.. doctest-remote-data::
>>> from astroquery.magpis import Magpis
>>> from astropy import coordinates
>>> from astropy import units as u
>>> image = Magpis.get_images(coordinates.SkyCoord(10.5*u.deg, 0.0*u.deg,
... frame='galactic'))
- >>> image
+ >>> image # doctest: +IGNORE_OUTPUT
[<astropy.io.fits.hdu.image.PrimaryHDU at 0x4008650>]
@@ -36,11 +34,13 @@ You may also specify the MAGPIS survey from which to fetch the cutout via the
keyword ``survey``. To know the list of valid surveys:
.. code-block:: python
-
+.. doctest-remote-data::
>>> from astroquery.magpis import Magpis
- >>> Magpis.list_surveys()
-
- ['gps6epoch3',
+ >>> Magpis.list_surveys() # doctest: +IGNORE_OUTPUT
+ [
+ 'gps6'
+ 'gps6epoch2',
+ 'gps6epoch3',
'gps6epoch4',
'gps20',
'gps20new',
@@ -52,13 +52,14 @@ keyword ``survey``. To know the list of valid surveys:
'gpsglimpse58',
'gpsglimpse80',
'mipsgal',
+ 'atlasgal',
'bolocam']
The default survey used is 'bolocam'. Here is a query setting these optional
parameters as well.
.. code-block:: python
-
+.. doctest-remote-data::
>>> from astroquery.magpis import Magpis
>>> import astropy.units as u
>>> import astropy.coordinates as coord
@@ -66,7 +67,7 @@ parameters as well.
... frame='galactic'),
... image_size=10*u.arcmin,
... survey='gps20new')
- >>> image
+ >>> image # doctest: +IGNORE_OUTPUT
[<astropy.io.fits.hdu.image.PrimaryHDU at 0x4013e10>]
