<div dir="ltr"><div>Hello everyone,<br></div><div><br></div><div>I am pleased to announce the release of ytree version 1.1.</div><div><br></div><div>ytree is a merger-tree code with yt-like syntax for loading data and</div><div>accessing fields.  ytree can:</div><div><br></div><div>* return tree and halo data fields with symbolic units like in yt</div><div><br></div><div>* create merger-trees for Gadget FoF/Subfind catalogs</div><div><br></div><div>* load merger-trees from Rockstar halo catalogs and consistent-trees</div><div>  outputs</div><div><br></div><div>* save individual and collections of merger-trees into a reloadable</div><div>  format</div><div><br></div><div>As of ytree version 1.1, field access is even more yt-like.</div><div><br></div><div>>>> import ytree</div><div>>>> a = ytree.load("tree_0_0_0.dat") # consistent-trees</div><div><br></div><div>>>> # masses for roots of all trees</div><div>>>> print (a["mvir"].to("Msun"))</div><div>[  1.65035971e+13,   1.43309353e+13,   5.18129496e+14, ...</div><div>   3.47482014e+12,   1.30273381e+12,   3.47482014e+12] Msun</div><div><br></div><div>>>> # mass for the root of the first tree</div><div>>>> print (a[0]["mvir"])</div><div>11470000000000.0 Msun/h</div><div><br></div><div>>>> # most massive progenitors for first tree</div><div>>>> print (a[0]["line", "mvir"])</div><div>[  1.14700000e+13,   1.20700000e+13,   1.23700000e+13, ...</div><div>   3.32000000e+12,   1.20700000e+12,   2.71600000e+12] Msun/h</div><div><br></div><div>ytree is compatible with both Python 2 and 3 and can be installed with</div><div>pip as:</div><div><br></div><div>pip install ytree</div><div><br></div><div>For more information, please visit:</div><div><a href="http://ytree.readthedocs.io/">http://ytree.readthedocs.io/</a></div><div><br></div><div>ytree is an open-source project.  If you're interested in</div><div>contributing, please do!</div><div><br></div><div>Thanks!</div><div><br></div><div>Britton</div><div><br></div></div>