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

Matthew Turk matthewturk at gmail.com
Mon Feb 2 09:57:58 PST 2009


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__.

On Mon, Feb 2, 2009 at 9:55 AM, Stephen Skory <stephenskory at yahoo.com> wrote:
> Hi everyone,
>
> I am projecting a thin volume of a dataset, and I'd like to limit HopCircleCallback to only plot the circles for haloes inside that region. Can anyone suggest an elegant way to do this? Thanks!
>
>  _______________________________________________________
> 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