1
- .. doctest-skip-all
2
-
3
1
.. _astroquery.nasa_exoplanet_archive :
4
2
5
3
************************************************************
@@ -27,7 +25,7 @@ The `~astroquery.nasa_exoplanet_archive.NasaExoplanetArchiveClass.query_object`
27
25
For example, the following query searches the ``ps `` table of confirmed exoplanets for information about the planet K2-18 b.
28
26
29
27
.. code-block :: python
30
-
28
+ .. doctest-remote-data ::
31
29
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
32
30
>>> NasaExoplanetArchive.query_object(" K2-18 b" )
33
31
<QTable masked=True length=11>
@@ -46,6 +44,7 @@ For example, the following query searches the ``ps`` table of confirmed exoplane
46
44
Similarly, cone searches can be executed using the `~astroquery.nasa_exoplanet_archive.NasaExoplanetArchiveClass.query_region ` method:
47
45
48
46
.. code-block :: python
47
+ .. doctest-remote-data ::
49
48
50
49
>>> import astropy.units as u
51
50
>>> from astropy.coordinates import SkyCoord
@@ -66,6 +65,7 @@ The most general queries can be performed using the `~astroquery.nasa_exoplanet_
66
65
For example, a full table can be queried as follows:
67
66
68
67
.. code-block :: python
68
+ .. doctest-remote-data ::
69
69
70
70
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
71
71
>>> NasaExoplanetArchive.query_criteria(table = " cumulative" , select = " *" )
@@ -92,6 +92,7 @@ In this section, we demonstrate
92
92
1. The number of confirmed planets discovered by TESS:
93
93
94
94
.. code-block :: python
95
+ .. doctest-remote-data ::
95
96
96
97
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
97
98
>>> NasaExoplanetArchive.query_criteria(table = " pscomppars" , select = " count(*)" ,
@@ -106,6 +107,7 @@ In this section, we demonstrate
106
107
2. The list of confirmed planets discovered by TESS and their host star coordinates:
107
108
108
109
.. code-block :: python
110
+ .. doctest-remote-data ::
109
111
110
112
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
111
113
>>> NasaExoplanetArchive.query_criteria(table = " pscomppars" , select = " pl_name,ra,dec" ,
@@ -126,6 +128,7 @@ In this section, we demonstrate
126
128
3. The list of confirmed planets discovered using microlensing that have data available in the archive:
127
129
128
130
.. code-block :: python
131
+ .. doctest-remote-data ::
129
132
130
133
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
131
134
>>> NasaExoplanetArchive.query_criteria(
@@ -146,6 +149,7 @@ In this section, we demonstrate
146
149
4. The list of confirmed planets where the host star name starts with "Kepler" using a *wildcard search *:
147
150
148
151
.. code-block :: python
152
+ .. doctest-remote-data ::
149
153
150
154
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
151
155
>>> NasaExoplanetArchive.query_criteria(
@@ -166,6 +170,7 @@ In this section, we demonstrate
166
170
5. The Kepler Objects of Interest that were vetted more recently than January 24, 2015 using a *date search *:
167
171
168
172
.. code-block :: python
173
+ .. doctest-remote-data ::
169
174
170
175
>>> from astroquery.nasa_exoplanet_archive import NasaExoplanetArchive
171
176
>>> NasaExoplanetArchive.query_criteria(
0 commit comments