1
- .. doctest-skip-all
2
-
3
1
.. _astroquery.exoplanet_orbit_database :
4
2
5
3
****************************************************************
@@ -13,22 +11,23 @@ You can access the complete tables from each table source, with units assigned
13
11
to columns wherever possible.
14
12
15
13
.. code-block :: python
14
+ .. doctest-remote-data ::
16
15
17
16
>>> from astroquery.exoplanet_orbit_database import ExoplanetOrbitDatabase
18
- >> > eod_table = ExoplanetOrbitDatabase.get_confirmed_planets_table()
19
-
17
+ >>> eod_table = ExoplanetOrbitDatabase.get_table()
20
18
>>> eod_table[:2 ]
21
- < Table masked = True length= 2 >
22
- pl_hostname pl_letter pl_discmethod ... pl_nnotes rowupdate NAME_LOWERCASE
23
- ...
24
- str27 str1 str29 ... int64 str10 str29
25
- ---------- - -------- - ------------ - ... -------- - ---------- --------------
26
- Kepler - 151 b Transit ... 1 2014 - 0 5 - 14 kepler- 151 b
27
- Kepler - 152 b Transit ... 1 2014 - 0 5 - 14 kepler- 152 b
19
+ <QTable length=2>
20
+ A AUPPER ... NAME_LOWERCASE sky_coord
21
+ AU AU ... deg,deg
22
+ float64 float64 ... str19 object
23
+ --------- -- --------- ... -------------- --------------------- --------------
24
+ 0.0780099 0.00130017 ... kepler-107d 297.0282083332539,48.20861111111111
25
+ 0.0344721 0.000675924 ... kepler-1049b 287.3467499971389,47.7729444445504
28
26
29
27
You can query for the row from each table corresponding to one exoplanet:
30
28
31
29
.. code-block :: python
30
+ .. doctest-remote-data ::
32
31
33
32
>>> from astroquery.exoplanet_orbit_database import ExoplanetOrbitDatabase
34
33
>>> hatp11b = ExoplanetOrbitDatabase.query_planet(' HAT-P-11 b' )
@@ -42,19 +41,17 @@ the Exoplanet Orbit Database <http://exoplanets.org/help/common/data>`_. There
42
41
is also a special column of sky coordinates for each target, named ``sky_coord ``.
43
42
44
43
.. code-block :: python
44
+ .. doctest-remote-data ::
45
45
46
46
>>> from astroquery.exoplanet_orbit_database import ExoplanetOrbitDatabase
47
47
>>> hatp11b = ExoplanetOrbitDatabase.query_planet(' HAT-P-11 b' )
48
-
49
48
>>> hatp11b[' PER' ] # Planet period
50
49
<Quantity 4.8878162 d>
51
-
52
50
>>> hatp11b[' R' ] # Planet radius
53
51
<Quantity 0.422 jupiterRad>
54
-
55
52
>>> hatp11b[' sky_coord' ] # Position of host star
56
53
<SkyCoord (ICRS): (ra, dec) in deg
57
- ( 297.70891666 , 48.08029444 )>
54
+ (297.70890417, 48.08029444)>
58
55
59
56
Reference/API
60
57
=============
0 commit comments