Skip to main content

An extension of yt for working with merger-tree data.

Project description

# ytree

[![Build Status](https://travis-ci.org/brittonsmith/ytree.svg?branch=master)](https://travis-ci.org/brittonsmith/ytree) [![Documentation Status](https://readthedocs.org/projects/ytree/badge/?version=latest)](http://ytree.readthedocs.io/en/latest/?badge=latest) [![PyPI version](https://badge.fury.io/py/ytree.svg)](https://badge.fury.io/py/ytree) [![DOI](https://zenodo.org/badge/98564214.svg)](https://zenodo.org/badge/latestdoi/98564214)

This is ytree, a [yt](https://github.com/yt-project/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](http://ytree.readthedocs.io).

## Sample Data

Sampled data for all merger-tree formats supported by ytree is available on the [yt Hub](https://girder.hub.yt/) in the [ytree data](https://girder.hub.yt/#collection/59835a1ee2a67400016a2cda) collection.

## Contributing

ytree would be much better with your contribution! As an extension of [the yt Project](http://yt-project.org/), we follow the yt [guidelines for contributing](https://github.com/yt-project/yt#contributing).

## Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ytree-2.1.1.tar.gz (72.4 kB view details)

Uploaded Source

File details

Details for the file ytree-2.1.1.tar.gz.

File metadata

  • Download URL: ytree-2.1.1.tar.gz
  • Upload date:
  • Size: 72.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ytree-2.1.1.tar.gz
Algorithm Hash digest
SHA256 c45373970c3f4237179dcf198183ca2709d415dabb67de3f0933db019bfc4f1e
MD5 7c6d51c64cc0b9e9eafbc90347eb59f7
BLAKE2b-256 1e4a64335d278257d2781c102e790a91e5e4ef0458701acbf79002a5f9871277

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page