[yt-users] Field Cuts in Off-Axis Projections
Munier Azzam Salem
msalem at astro.columbia.edu
Wed Aug 7 11:37:06 PDT 2013
Hey guys,
I've been trying to make slices of density only looking at cooler
gas (i.e. with a cut in Temperature). I've found a nice way to do this for
simple projections. But my strategy breaks for Off-Axis projections.
Specifically, this works fine:
*
*
*field_parameters={'field_cuts':["grid['Temperature'] < 1e6 "]})*
*cold_proj =
ProjectionPlot(pf,0,'Density',field_parameters=field_parameters)*
* *
but this does not:
*cold_proj = OffAxisProjectionPlot(pf,axis,'Density',north_vector=north,*
* field_parameters= field_parameters)*
sensibly enough, since field_parameters is not a keyword argument for off
axis projections.
Is there a decent workaround for this? Or would this be simple to add into
yt's functionality? I've looked briefly into the
source<http://yt-project.org/doc/_modules/yt/visualization/plot_window.html#OffAxisProjectionPlot.__init__>and
it doesn't seem obvious how to slip this in.
thanks!
Munier
--
Munier A. Salem // 845.489.6450
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130807/3d33ad75/attachment.htm>
More information about the yt-users
mailing list