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

Stephen Skory stephenskory at yahoo.com
Mon Feb 2 10:32:42 PST 2009



----- 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
________________________________(_)_\(_)_______________



More information about the yt-dev mailing list