Skip to content

Commit 274984f

Browse files
committed
Use 2P/Encke for doctest since Hyakutake isn't currently available.
1 parent e6b7b8d commit 274984f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/mpc/mpc.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,15 +351,17 @@ Working with ephemeris tables
351351

352352
Columns in the returned ephemeris tables carry the appropriate units.
353353
Convert the columns to Astropy quantities using the ``.quantity``
354-
attribute. To find comet Hyakutake's peak proper motion in the sky in
354+
attribute. To find comet Encke's peak proper motion in the sky around
355+
the time of its closest approach to Earth in November 2003:
355356
degrees per hour:
356357

357358

358359
.. doctest-remote-data::
359360

360-
>>> eph = MPC.get_ephemeris('C/1996 B2', start='1996-03-01', step='1h', number=30 * 24)
361-
>>> print(eph['Proper motion'].quantity.to('deg/h').max())
362-
0.17234444444444447 deg / h
361+
>>> eph = MPC.get_ephemeris('2P', start='2003-10-15', step='1d', number=60)
362+
>>> print(eph['Proper motion'].quantity.to('deg/h').max()) # doctest: +FLOAT_CMP
363+
0.1259361111111111 deg / h
364+
363365

364366
Sky coordinates are returned as quantities carrying units of degrees.
365367
If a sexagesimal representation is desired, they may be replaced with

0 commit comments

Comments
 (0)