[yt-users] halos

Matthew Turk matthewturk at gmail.com
Thu Mar 3 17:05:31 PST 2011


Hi Stephen,

On Thu, Mar 3, 2011 at 7:49 PM, Stephen Skory <stephenskory at yahoo.com> wrote:
> Molly,
>
> I can help you with the halos, but I'll leave the halo profiler for Britton who knows it better than I do.
>
>> First, I'm able to find halos and print information about them out to
>> an, e.g., HopAnalysis.out file.  Is there a way to read this kind of
>> information back in?  So far I have to re-run the halo finder every
>> time I want to get new information, which is rather inefficient.  (The
>> kludge of only looking for halos in a subvolume where I know there is
>> one kind of works but isn't ideal.)
>
>
> This is not currently possible. This is something that I've thought about, and should be possible, but I haven't done it because I haven't needed it. If there is enough interest in this, I can add it to my list of to-dos.

This would unquestionably be extremely useful.  If you could implement
a __reduce__ function that works, we should be able to pickle the
halos; note that if you go the __reduce__ route, the particle data can
be dumped to, for instance, HDF5 files.  If you were to just let
Pickle handle it, the particle membership would just be pickled right
along with it.

-Matt



More information about the yt-users mailing list