There is a newer version of this record available.

Software Open Access

brittonsmith/ytree: ytree 2.2 Release

Britton Smith; Meagan Lang

ytree version 2.2 is released!

ytree is an extension of yt for working with merger-tree data from multiple sources.

This release adds a couple new features as well as improvements for i/o and memory usage.

  • New feature: vector fields return x/y/z components of a vector as a single array with automatically created magnitude fields.

  • New feature: a select_halos function to search all trees for halos matching specified criteria.

  • Enhancement: significant refactors of the field and i/o systems to reduce memory, speed up field access, and simplify implementing new frontends.

  • Enhancement: upgrades to the testing infrastructure.

ytree can be installed with pip:

pip install ytree

or from source, by going to

git clone
cd ytree
pip install -e .

Full documentation can be found at

Files (149.1 kB)
Name Size
149.1 kB Download
All versions This version
Views 25734
Downloads 379
Data volume 5.1 MB1.3 MB
Unique views 21333
Unique downloads 154


Cite as