Skip to content

Commit 82e83ac

Browse files
tinuademargaretbsipocz
authored andcommitted
nasa exoplanet archive WIP
1 parent 586c1e4 commit 82e83ac

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/nasa_exoplanet_archive/nasa_exoplanet_archive.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.. doctest-skip-all
2-
31
.. _astroquery.nasa_exoplanet_archive:
42

53
************************************************************
@@ -27,7 +25,7 @@ The `~astroquery.nasa_exoplanet_archive.NasaExoplanetArchiveClass.query_object`
2725
For example, the following query searches the ``ps`` table of confirmed exoplanets for information about the planet K2-18 b.
2826

2927
.. code-block:: python
30-
28+
.. doctest-remote-data::
3129
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
3230
>>> NasaExoplanetArchive.query_object("K2-18 b")
3331
<QTable masked=True length=11>
@@ -46,6 +44,7 @@ For example, the following query searches the ``ps`` table of confirmed exoplane
4644
Similarly, cone searches can be executed using the `~astroquery.nasa_exoplanet_archive.NasaExoplanetArchiveClass.query_region` method:
4745

4846
.. code-block:: python
47+
.. doctest-remote-data::
4948

5049
>>> import astropy.units as u
5150
>>> from astropy.coordinates import SkyCoord
@@ -66,6 +65,7 @@ The most general queries can be performed using the `~astroquery.nasa_exoplanet_
6665
For example, a full table can be queried as follows:
6766

6867
.. code-block:: python
68+
.. doctest-remote-data::
6969

7070
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
7171
>>> NasaExoplanetArchive.query_criteria(table="cumulative", select="*")
@@ -92,6 +92,7 @@ In this section, we demonstrate
9292
1. The number of confirmed planets discovered by TESS:
9393

9494
.. code-block:: python
95+
.. doctest-remote-data::
9596

9697
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
9798
>>> NasaExoplanetArchive.query_criteria(table="pscomppars", select="count(*)",
@@ -106,6 +107,7 @@ In this section, we demonstrate
106107
2. The list of confirmed planets discovered by TESS and their host star coordinates:
107108

108109
.. code-block:: python
110+
.. doctest-remote-data::
109111

110112
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
111113
>>> NasaExoplanetArchive.query_criteria(table="pscomppars", select="pl_name,ra,dec",
@@ -126,6 +128,7 @@ In this section, we demonstrate
126128
3. The list of confirmed planets discovered using microlensing that have data available in the archive:
127129

128130
.. code-block:: python
131+
.. doctest-remote-data::
129132

130133
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
131134
>>> NasaExoplanetArchive.query_criteria(
@@ -146,6 +149,7 @@ In this section, we demonstrate
146149
4. The list of confirmed planets where the host star name starts with "Kepler" using a *wildcard search*:
147150

148151
.. code-block:: python
152+
.. doctest-remote-data::
149153

150154
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
151155
>>> NasaExoplanetArchive.query_criteria(
@@ -166,6 +170,7 @@ In this section, we demonstrate
166170
5. The Kepler Objects of Interest that were vetted more recently than January 24, 2015 using a *date search*:
167171

168172
.. code-block:: python
173+
.. doctest-remote-data::
169174

170175
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
171176
>>> NasaExoplanetArchive.query_criteria(

0 commit comments

Comments
 (0)