An extension of yt for working with merger-tree data.
Project description
ytree
This is ytree, a yt extension for generating and working with merger-tree data. ytree supports:
-
loading merger-tree data from the Amiga Halo Finder, Consistent-Trees, Rockstar, and LHaloTree formats
-
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
Installation
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 .
Getting Started
Below is a notebook that demonstrates how to use ytree with merger-tree data. For more information, see the full ytree documenation.
Sample Data
Sampled data for all merger-tree formats supported by ytree is available on the yt Hub in the ytree data collection.
Contributing
ytree would be much better with your contribution! As an extension of the yt Project, we follow the yt guidelines for contributing.
Citing ytree
If you use ytree in your work, please cite the following:
Britton Smith, & Meagan Lang. (2018, February 16). ytree: merger-tree toolkit. Zenodo.
https://doi.org/10.5281/zenodo.1174374
For BibTeX users:
@misc{britton_smith_2018_1174374,
author = {Britton Smith and
Meagan Lang},
title = {ytree: merger-tree toolkit},
month = feb,
year = 2018,
doi = {10.5281/zenodo.1174374},
url = {https://doi.org/10.5281/zenodo.1174374}
}
If possible, please also add a footnote pointing to https://ytree.readthedocs.io.
Resources
-
The latest documentation can be found at https://ytree.readthedocs.io
-
ytree is an extension of the yt Project. The yt-project community resources can be used for ytree-related communication.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ytree-2.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cfb785a5ec898e6d422ab4e15d2c34b3e42e9715cdeaad670b4f978f8d06b17 |
|
MD5 | 805e8e4a27d98f021a9905e7a032bc81 |
|
BLAKE2b-256 | ea8ccebdf12ac124bb31d0a5208120a7ab1379f05143c3c2ad5609955ff5bb92 |