1
- .. doctest-skip-all
2
-
3
1
.. _astroquery.imcce :
4
2
5
3
******************************************************************************************************************************************
@@ -17,7 +15,7 @@ IMCCE provides a number of Solar System-related services, two of which are curre
17
15
* `Miriade <http://vo.imcce.fr/webservices/miriade/ >`_: ephemerides service
18
16
19
17
Use cases for both services are detailed below.
20
-
18
+
21
19
22
20
SkyBot - Solar System Body Identification Service
23
21
=================================================
@@ -32,14 +30,15 @@ A simple cone search for Solar System objects in a circular field
32
30
looks like this:
33
31
34
32
.. code-block :: python
33
+ .. doctest-remote-data ::
35
34
36
35
>>> from astroquery.imcce import Skybot
37
36
>>> from astropy.coordinates import SkyCoord
38
37
>>> from astropy.time import Time
39
38
>>> import astropy.units as u
40
39
>>> field = SkyCoord(0 * u.deg, 0 * u.deg)
41
40
>>> epoch = Time(' 2019-05-29 21:42' , format = ' iso' )
42
- >> > Skybot.cone_search(field, 5 * u.arcmin, epoch) # doctest: +SKIP
41
+ >>> Skybot.cone_search(field, 5 * u.arcmin, epoch) # doctest: +IGNORE_OUTPUT
43
42
<QTable length=2>
44
43
Number Name RA ... vy vz epoch
45
44
deg ... AU / d AU / d d
@@ -50,8 +49,8 @@ looks like this:
50
49
51
50
`~astroquery.imcce.SkybotClass.cone_search ` produces a
52
51
`~astropy.table.QTable ` object with the properties of all Solar System
53
- bodies that are present in the cone at the given epoch.
54
-
52
+ bodies that are present in the cone at the given epoch.
53
+
55
54
The required input arguments for
56
55
`~astroquery.imcce.SkybotClass.cone_search ` are the center coordinates
57
56
of the cone, its radius, as well as the epoch of the
@@ -142,16 +141,17 @@ The most minimalistic `~astroquery.imcce.MiriadeClass.get_ephemerides`
142
141
query looks like this:
143
142
144
143
.. code-block :: python
144
+ .. doctest-remote-data ::
145
+
146
+ >>> from astroquery.imcce import Miriade
147
+ >>> Miriade.get_ephemerides(' Ceres' ) # doctest: +IGNORE_OUTPUT
148
+ <Table length=1>
149
+ target epoch RA ... DEC_rate delta_rate
150
+ d deg ... arcsec / min km / s
151
+ str20 float64 float64 ... float64 float64
152
+ ------ -------------------- ------------ ... ------------ ------------
153
+ Ceres 2459243.5488214926 355.21360625 ... 0.42203 15.7644188
145
154
146
- >> > from astroquery.miriade import Miriade
147
- >> > Miriade.get_ephemerides(' Ceres' )
148
- < Table masked= True length= 1 >
149
- target epoch RA ... DEC_rate delta_rate
150
- d deg ... arcs / min km / s
151
- bytes20 float64 float64 ... float64 float64
152
- ------ - -------------------- ---------------- - ... ---------- ------------
153
- Ceres 2458519.315165116 242.1874308333333 ... - 0.14926 - 20.9668673
154
-
155
155
This query will return ephemerides for asteroid Ceres, for the current
156
156
epoch, and for a geocentric location. The query output is formatted as
157
157
a `~astropy.table.Table `.
@@ -181,30 +181,38 @@ Consider the following example, which queries ephemerides for asteroid
181
181
Pallas over an entire year with a time step of 1 day:
182
182
183
183
.. code-block :: python
184
+ .. doctest-remote-data ::
184
185
185
- >> > from astroquery.miriade import Miriade
186
+ >>> from astroquery.imcce import Miriade
186
187
>>> Miriade.get_ephemerides(' Pallas' , epoch = ' 2019-01-01' ,
187
- >> > epoch_step = ' 1d' , epoch_nsteps = 365 ) # doctest: +SKIP
188
- < Table masked= True length= 365 >
189
- target epoch RA ... DEC_rate delta_rate
190
- d deg ... arcs / min km / s
191
- bytes20 float64 float64 ... float64 float64
192
- ------ - -------------------- ------------------ ... ---------- ------------
193
- Pallas 2458484.5 200.5865645833333 ... 0.15854 - 19.3678422
194
- Pallas 2458485.5 200.92699458333328 ... 0.16727 - 19.4137907
195
- Pallas 2458486.5 201.26416541666663 ... 0.17613 - 19.4552649
196
- Pallas 2458487.5 201.59800958333332 ... 0.18511 - 19.4921113
197
- Pallas 2458488.5 201.9284608333333 ... 0.19421 - 19.5241972
198
- Pallas 2458489.5 202.25545124999996 ... 0.20344 - 19.5514101
199
- ... ... ... ... ... ...
200
- Pallas 2458843.5 261.1308308333333 ... 0.025007 - 2.2916737
201
- Pallas 2458844.5 261.5084158333333 ... 0.029542 - 2.5107013
202
- Pallas 2458845.5 261.88534958333327 ... 0.034077 - 2.7290895
203
- Pallas 2458846.5 262.2616025 ... 0.038612 - 2.9467393
204
- Pallas 2458847.5 262.6371470833333 ... 0.043144 - 3.1635784
205
- Pallas 2458848.5 263.011955 ... 0.047672 - 3.3795565
206
-
207
-
188
+ ... epoch_step= ' 1d' , epoch_nsteps= 365 )
189
+ <Table length=365>
190
+ target epoch RA ... DEC_rate delta_rate
191
+ d deg ... arcsec / min km / s
192
+ str20 float64 float64 ... float64 float64
193
+ ------ -------------------- ------------------ ... ------------ ------------
194
+ Pallas 2458484.5 200.58657499999998 ... 0.15854 -19.3678409
195
+ Pallas 2458485.5 200.92700499999998 ... 0.16727 -19.4137895
196
+ Pallas 2458486.5 201.26417583333333 ... 0.17613 -19.4552637
197
+ Pallas 2458487.5 201.59802 ... 0.18511 -19.4921101
198
+ Pallas 2458488.5 201.92847124999997 ... 0.19421 -19.524196
199
+ Pallas 2458489.5 202.25546166666663 ... 0.20344 -19.551409
200
+ Pallas 2458490.5 202.57892541666664 ... 0.21278 -19.573655
201
+ Pallas 2458491.5 202.89879624999998 ... 0.22224 -19.5908573
202
+ Pallas 2458492.5 203.2150083333333 ... 0.23182 -19.6029527
203
+ ... ... ... ... ... ...
204
+ Pallas 2458839.5 259.61457874999996 ... 0.0069182 -1.4120106
205
+ Pallas 2458840.5 259.9944708333333 ... 0.011429 -1.6321318
206
+ Pallas 2458841.5 260.37383125 ... 0.015948 -1.8522288
207
+ Pallas 2458842.5 260.75262958333326 ... 0.020475 -2.072131
208
+ Pallas 2458843.5 261.13083624999996 ... 0.025007 -2.2916715
209
+ Pallas 2458844.5 261.50842124999997 ... 0.029542 -2.5106991
210
+ Pallas 2458845.5 261.88535499999995 ... 0.034077 -2.7290872
211
+ Pallas 2458846.5 262.26160791666666 ... 0.038612 -2.946737
212
+ Pallas 2458847.5 262.63715249999996 ... 0.043144 -3.1635762
213
+ Pallas 2458848.5 263.0119604166667 ... 0.047672 -3.3795543
214
+
215
+
208
216
The observer location is defined through the ``location `` keyword,
209
217
expecting a string containing the official IAU observatory code, a
210
218
spacecraft name, or a set of coordinates (see the `Miriade manual
@@ -306,8 +314,8 @@ to be provided to the keyword ``coordtype`` to use these sets) :
306
314
+------------------+-----------------------------------------------+
307
315
| ``vz_h `` | Z heliocentric vel. vector (au/d, float) |
308
316
+------------------+-----------------------------------------------+
309
-
310
-
317
+
318
+
311
319
3. Local coordinates:
312
320
313
321
+------------------+-----------------------------------------------+
@@ -454,7 +462,7 @@ results:
454
462
ecliptical coordinates
455
463
* ``elements ``: switch to MPCORB ephemerides instead of ASTORB
456
464
* ``radial_velocity ``: provides additional information on target's radial
457
- velocity
465
+ velocity
458
466
459
467
460
468
@@ -483,10 +491,9 @@ Please consider the following notes from IMCCE:
483
491
The development of this submodule is funded through NASA PDART Grant
484
492
No. 80NSSC18K0987 to the `sbpy project <http://sbpy.org >`_.
485
493
486
-
494
+
487
495
Reference/API
488
496
=============
489
497
490
498
.. automodapi :: astroquery.imcce
491
499
:no-inheritance-diagram:
492
-
0 commit comments