Skip to content

Commit bb92dd1

Browse files
authored
Merge pull request #1947 from tinumide/dace-doc-cleanup
Dace documentation cleanup
2 parents f699ae8 + 03c6e24 commit bb92dd1

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

docs/dace/dace.rst

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

53
************************
@@ -9,34 +7,32 @@ DACE (`astroquery.dace`)
97
This module let you query DACE (Data Analysis Center for Exoplanets) data. This project is developed
108
at Observatory of Geneva and can be accessed online at https://dace.unige.ch
119

10+
Getting started
11+
===============
1212

13-
API
14-
===
1513

1614
Query radial velocities
1715
-----------------------
1816
If you need to get radial velocities data for an object you can do the following and get a `~astropy.table.Table` :
1917

20-
.. code-block:: python
18+
19+
.. doctest-remote-data::
2120

2221
>>> from astroquery.dace import Dace
2322
>>> radial_velocities_table = Dace.query_radial_velocities('HD40307')
24-
>>> print(radial_velocities_table)
25-
26-
rjd rv rv_err ins_name
27-
------------------ ------------------ ------------------ --------- ...
28-
51131.82401522994 31300.4226771379 5.420218247708816 CORALIE98
29-
51139.809670339804 31295.5671320506 4.0697289792344185 CORALIE98
30-
51188.67579095997 31294.3391634734 3.4386352834851026 CORALIE98
31-
51259.531961040106 31298.3278930888 7.0721030870398245 CORALIE98
23+
>>> radial_velocities_table.pprint(max_lines=5, max_width=120)
24+
berv berv_err ... date_night raw_file
25+
----------------- -------- ... ---------- -------------------------------------------------------------------------
26+
1.73905237267071 NaN ... 1998-11-13 coralie98/DRS-3.3/reduced/1998-11-13/CORALIE.1998-11-14T07:42:28.001.fits
27+
1.30280483191029 NaN ... 1998-11-21 coralie98/DRS-3.3/reduced/1998-11-21/CORALIE.1998-11-22T07:21:45.001.fits
28+
... ... ... ... ...
29+
-3.37421721287255 NaN ... 2014-03-31 harps/DRS-3.5/reduced/2014-03-31/HARPS.2014-03-31T23:53:00.821.fits
30+
-3.32906204496065 NaN ... 2014-04-05 harps/DRS-3.5/reduced/2014-04-05/HARPS.2014-04-06T01:00:15.375.fits
31+
Length = 600 rows
3232

33-
... ... ... ...
34-
56403.48691046983 31333.3379143329 0.5476157667089154 HARPS03
35-
56596.82446234021 31334.9563430348 0.508056405864858 HARPS03
36-
56602.871036310215 31337.4095684621 0.4167374664543639 HARPS03
3733

3834
Reference/API
3935
=============
4036

4137
.. automodapi:: astroquery.dace
42-
:no-inheritance-diagram:
38+
:no-inheritance-diagram:

0 commit comments

Comments
 (0)