Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions docs/example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ project folder.
with open('path/ppop_catalog.txt', 'wb') as file:
file.write(data.content)


At the moment, the ``TestPlanetPopulation.txt`` file is not available directly on the P-Pop GitHub repository anymore.
Instead, follow the instructions on |p-pop| to clone the repository and create the file locally on your computer.
Then rename the file from ``TestPlanetPopulation.txt`` to ``ppop_catalog.txt`` and save it in the desired location.


Loading the Catalog
~~~~~~~~~~~~~~~~~~~

Expand All @@ -186,8 +192,8 @@ remove all A-type stars and every M-type at a distance larger than 10 pc away fr
.. code-block:: python
:lineno-start: 26

bus.data.catalog_remove_distance(stype=0, mode='larger', dist=0.)
bus.data.catalog_remove_distance(stype=4, mode='larger', dist=10.)
bus.data.catalog_remove_distance(stype='A', mode='larger', dist=0.)
bus.data.catalog_remove_distance(stype='M', mode='larger', dist=10.)

.. Hint::

Expand Down