[yt-users] Best way to load in halos?
Matthew Turk
matthewturk at gmail.com
Mon Jul 9 15:11:14 PDT 2012
Hi Stephen,
I read the code and it looks awesome. Thanks very much -- I'm +1 on
including this in main yt.
-Matt
On Mon, Jul 9, 2012 at 3:09 PM, Stephen Skory <s at skory.us> wrote:
> Hi Matt,
>
> I've pushed a change here:
>
> https://bitbucket.org/sskory/yt/changeset/98e4616f576d
>
> it's basically how I described it in my earlier email.
>
> pf = load("data0005")
> halos = LoadHaloes(pf, "list.txt", {'x':0, 'y':1, 'z':2, 'r':3},
> comment = ";")
>
> those are the only four types of columns it knows how to read right
> now. That can be changed if needed. "comment" lists lines to ignore by
> leading character and defaults to "#". In my limited testing all the
> halo operations work. If you find a bug, let me know! If you like it,
> I'll issue a PR.
>
> --
> Stephen Skory
> s at skory.us
> http://stephenskory.com/
> 510.621.3687 (google voice)
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
More information about the yt-users
mailing list