[Yt-dev] Callbacks in a pf.h.region

Matthew Turk matthewturk at gmail.com
Mon Feb 2 10:36:06 PST 2009


Hmm, good point.  Maybe you should just implement (in the
SS_HopOUtput.py file, which should soon be changed to be the main HOP)
a FakeGridForHalos.  Have it fill in the same way the other does, but
you'll have to do _corners manually.  dds should be the minimum halo
radius I guess?  Hmm.  Let me think about this, if that doens't work
out.

On Mon, Feb 2, 2009 at 10:32 AM, Stephen Skory <stephenskory at yahoo.com> wrote:
>
>
> ----- Original Message ----
>> From: Matthew Turk <matthewturk at gmail.com>
>> To: yt-dev at lists.spacepope.org
>> Sent: Monday, February 2, 2009 9:57:58 AM
>> Subject: Re: [Yt-dev] Callbacks in a pf.h.region
>>
>> I'd say use the FakeGridForParticles, populate it with the halo
>> centers, then use _get_cut_mask for that to get the halos to plot, by
>> calling plot.data._data_source in the callback __call__.
>
> I'm going to need a bigger push...
>
> FakeGridForParticles needs a grid, but how do I make a grid object of halo centers and radii?
>
>  _______________________________________________________
> sskory at physics.ucsd.edu           o__  Stephen Skory
> http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student
> ________________________________(_)_\(_)_______________
> _______________________________________________
> 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