manodeep / ytree

A yt-based merger-tree code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ytree

Build Status Documentation Status PyPI version

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

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.

Resources

About

A yt-based merger-tree code.

License:Other


Languages

Language:Python 100.0%