Skip to content

Commit

Permalink
mention how to access clump info
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Goldbaum committed Oct 9, 2018
1 parent 28d935f commit 4c73e2e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion doc/source/analyzing/analysis_modules/clump_finding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,15 @@ Then, add it to the list:
master_clump.add_info_item("mass_weighted_jeans_mass")
Beside the quantities calculated by default, the following are available:
Once you have run the clump finder, you should be able to access the data for
the info item you have defined via the ``info`` attribute of a ``Clump`` object:

.. code:: python
clump = leaf_clumps[0]
print(clump.info['mass_weighted_jeans_mass'])
Besides the quantities calculated by default, the following are available:
``center_of_mass`` and ``distance_to_main_clump``.

Working with Clumps
Expand Down

0 comments on commit 4c73e2e

Please sign in to comment.