Skip to content

Commit 33dd5de

Browse files
committed
Minor cleanup to remove empty cells
1 parent 2f7b2f1 commit 33dd5de

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

docs/mpc/mpc.rst

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ In addition, the module provides access to the MPC's hosted list of
2626

2727
To return the orbit of Ceres and an ephemeris for the next 20 days:
2828

29-
.. code-block:: python
3029
.. doctest-remote-data::
3130

3231
>>> from astroquery.mpc import MPC
@@ -127,7 +126,6 @@ queried in three manners:
127126

128127
An example of an exact match:
129128

130-
.. code-block:: python
131129
.. doctest-remote-data::
132130

133131
>>> from astroquery.mpc import MPC
@@ -196,7 +194,6 @@ Customizing return fields
196194
If a consumer isn't interested in some return fields, they can use the
197195
MPC to limit the fields they're interested in.
198196

199-
.. code-block:: python
200197
.. doctest-remote-data::
201198

202199
>>> result = MPC.query_object('asteroid', name="ceres", return_fields="name,number")
@@ -224,7 +221,7 @@ Dates and intervals
224221
For the ephemeris of asteroid (24) Themis, starting today with the
225222
default time step (1 day) and location (geocenter):
226223

227-
.. code-block:: python
224+
228225
.. doctest-remote-data::
229226

230227
>>> from astroquery.mpc import MPC
@@ -246,7 +243,7 @@ default time step (1 day) and location (geocenter):
246243

247244
Step sizes are parsed with Astropy's `~astropy.units.Quantity`. For a time step of 1 hour:
248245

249-
.. code-block:: python
246+
250247
.. doctest-remote-data::
251248

252249
>>> eph = MPC.get_ephemeris('24', step='1h')
@@ -268,7 +265,7 @@ Step sizes are parsed with Astropy's `~astropy.units.Quantity`. For a time step
268265
Start dates are parsed with Astropy's `~astropy.time.Time`. For a
269266
weekly ephemeris in 2020:
270267

271-
.. code-block:: python
268+
272269
.. doctest-remote-data::
273270

274271
>>> eph = MPC.get_ephemeris('24', start='2020-01-01', step='7d', number=52)
@@ -295,7 +292,7 @@ Ephemerides may be calculated for Earth-based observers. To calculate
295292
Makemake's ephemeris for the Discovery Channel Telescope (IAU
296293
observatory code G37):
297294

298-
.. code-block:: python
295+
299296
.. doctest-remote-data::
300297

301298
>>> eph = MPC.get_ephemeris('Makemake', location='G37')
@@ -322,7 +319,7 @@ an array of longitude (east), latitude, and altitude (parsed with
322319
`~astropy.coordinates.EarthLocation`. For example, to compute
323320
Encke's parallax between Mauna Kea and Botswana:
324321

325-
.. code-block:: python
322+
326323
.. doctest-remote-data::
327324

328325
>>> from astropy.table import Table
@@ -357,7 +354,7 @@ Convert the columns to Astropy quantities using the ``.quantity``
357354
attribute. To find comet Hyakutake's peak proper motion in the sky in
358355
degrees per hour:
359356

360-
.. code-block:: python
357+
361358
.. doctest-remote-data::
362359

363360
>>> eph = MPC.get_ephemeris('C/1996 B2', start='1996-03-01', step='1h', number=30 * 24)
@@ -370,7 +367,7 @@ strings using the ``ra_format`` and ``dec_format`` keyword arguments
370367
(see ``Angle``'s `~astropy.coordinates.Angle.to_string` for formatting
371368
options):
372369

373-
.. code-block:: python
370+
374371
.. doctest-remote-data::
375372

376373
>>> eph = MPC.get_ephemeris('2P', ra_format={'sep': ':', 'unit': 'hourangle', 'precision': 1}, dec_format={'sep': ':', 'precision': 0})
@@ -396,7 +393,7 @@ IAU Observatory Codes and Locations
396393
Two methods are available for working with the MPC's observatory list.
397394
To retrieve a list of all observatories:
398395

399-
.. code-block:: python
396+
400397
.. doctest-remote-data::
401398

402399
>>> obs = MPC.get_observatory_codes()
@@ -444,7 +441,6 @@ Observations
444441
The following code snippet queries all reported observations for
445442
asteroid 12893:
446443

447-
.. code-block:: python
448444
.. doctest-remote-data::
449445

450446
>>> obs = MPC.get_observations(12893)

0 commit comments

Comments
 (0)