Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkitBarik committed Jun 2, 2024
1 parent cb2d141 commit e062a30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ We have support for different field models for planets. They are listed below:

A list of models and keywords for them can be obtained using the :py:func:`get_models <planetmagfields.get_models>` function. For example:

.. code-block:: python
.. code-block:: ipython
In [1]: from planetmagfields import get_models
Expand All @@ -45,7 +45,7 @@ A list of models and keywords for them can be obtained using the :py:func:`get_m
In case of Earth, a special argument ``year`` is also used to provide a year between 1900 to present day. This uses the IGRF13 model to compute a linear secular variation and extrapolate to the desired year. For example, the code below

.. code-block:: ipythonconsole
.. code-block:: ipython
In [1]: from planetmagfields import Planet
Expand Down

0 comments on commit e062a30

Please sign in to comment.