Skip to content

Commit

Permalink
Tweaks to new docs and clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Sep 13, 2024
1 parent 62f2208 commit dfb99ae
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 17 deletions.
Binary file not shown.
10 changes: 9 additions & 1 deletion doc/source/reference/df.rst
Original file line number Diff line number Diff line change
Expand Up @@ -348,5 +348,13 @@ General instance routines
.. toctree::
:maxdepth: 1

__init__ <streamspraydf.rst>
sample <streamspraydfsample.rst>

Specific particle-spray models
+++++++++++++++++++++++++++++++

.. toctree::
:maxdepth: 1

Chen et al. (2024) <streamspraydfchen24.rst>
Fardal et al. (2015) <streamspraydffardal15.rst>
10 changes: 0 additions & 10 deletions doc/source/reference/streamspraydf.rst

This file was deleted.

5 changes: 5 additions & 0 deletions doc/source/reference/streamspraydfchen24.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
The particle-spray stream DF using Chen et al. (2024) formalism
===============================================================

.. autoclass:: galpy.df.chen24spraydf
:members: __init__
7 changes: 7 additions & 0 deletions doc/source/reference/streamspraydffardal15.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. _api_streamspraydf:

The particle-spray stream DF using Fardal et al. (2015) formalism
==================================================================

.. autoclass:: galpy.df.fardal15spraydf
:members: __init__
4 changes: 2 additions & 2 deletions doc/source/streamdf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@ we give a simple example of the the two methods.

.. note::
``fardal15spraydf`` was previously known as ``streamspraydf`` before
version ``v1.10.1``. While the old name is still supported for backward
compatibility, it is recommended to use the new name ``fardal15spraydf``.
version ``v1.10.1``. While the old name is still supported until ``v.1.11.0``
for backward compatibility, we recommend using the new name ``fardal15spraydf``.

Like in the ``streamdf`` example above, we use the same orbit, potential, and
cluster mass as in
Expand Down
8 changes: 4 additions & 4 deletions galpy/df/streamspraydf.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,8 @@ def __init__(
vo=None,
):
"""
Initialize a Chen+24 stream spray DF model of a tidal stream
https://ui.adsabs.harvard.edu/abs/2024arXiv240801496C/abstract
Initialize a `Chen et al. (2024) <https://ui.adsabs.harvard.edu/abs/2024arXiv240801496C/abstract>`_ stream spray DF model of a tidal stream.
Parameters
----------
Expand Down Expand Up @@ -530,8 +530,8 @@ def __init__(
vo=None,
):
"""
Initialize a Fardal+15 stream spray DF model of a tidal stream
https://ui.adsabs.harvard.edu/abs/2014arXiv1410.1861F/abstract
Initialize a `Fardal et al. (2015) <https://ui.adsabs.harvard.edu/abs/2014arXiv1410.1861F/abstract>`_ stream spray DF model of a tidal stream.
Parameters
----------
Expand Down

0 comments on commit dfb99ae

Please sign in to comment.