[Yt-dev] EnzoFOF merger tree

John Wise jwise at astro.princeton.edu
Tue Jan 18 10:36:59 PST 2011


Hi Stephen,

Thanks a lot for your work!  The cleaner version looks great.  You have my vote to push it.

John

On 18 Jan 2011, at 13:35, Stephen Skory wrote:

> Hi John & Matt,
> 
> I've successfully converted John's dot output to use pydot, and in the process cleaned the output up quite a bit. Like my merger tree, it will attempt to guess the kind of file you want from the suffix of the file name. So below will output a png directly if "dot" is in your path:
> 
> """
> from yt.mods import *
> import yt.analysis_modules.halo_merger_tree.api as hm
> 
> tree = hm.EnzoFOFMergerTree((7.0,15.0), load_saved=True)
> tree.build_tree(0, min_particles=500)
> tree.write_dot(filename = "tree_00000.png")
> """
> 
> Cleaner new version:
> 
> http://screencast.com/t/ZrEpYqab
> 
> 
> Older version, that was missing strict horizontal alignment between the halo nodes and redshift label nodes, and had unnecessary redshift nodes:
> 
> http://screencast.com/t/hnGom9VSf
> 
> If there are no objections, I'll push it, as well as my merger tree changes, and adding the pydot file (I've put it in yt.utilities). I'll also update the docs for my merger tree simultaneously. I've also updated the docstrings, where applicable.
> 
> Stephen Skory
> stephenskory at yahoo.com
> http://stephenskory.com/
> 510.621.3687 (google voice)
> 
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org




More information about the yt-dev mailing list