This is ytree, a yt extension for generating and working with merger-tree data. ytree supports:
-
loading merger-tree and halo catalog data from Consistent-Trees and Rockstar
-
creating merger trees from Gadget's inline FOF/SUBFIND catalogs
-
fast, on-demand loading of trees and fields
-
symbolic units, derived fields, and alias fields
-
saving trees to a universal format
ytree can be installed with pip:
pip install ytree
To get the development version, clone this repository and install like this:
git clone https://github.com/brittonsmith/ytree
cd ytree
pip install -e .
Below is a notebook that demonstrates how to use ytree with merger-tree data. For more information, see the full ytree documenation.
Sampled data for all merger-tree formats supported by ytree is available on the yt Hub in the ytree data collection.
ytree would be much better with your contribution! As an extension of the yt Project, we follow the yt guidelines for contributing.
-
The latest documentation can be found at http://ytree.readthedocs.io
-
ytree is an extension of the yt Project. The yt-project community resources can be used for ytree-related communication.