[yt-users] Projection questions

Scott Feister sfeister at gmail.com
Tue Oct 4 09:26:18 PDT 2016


Hi all,

1) Is there a way to do a "mean" ProjectionPlot? As far as I can tell, the
options are "integrate", "mip", and "sum", so I am guessing the answer is
no. I know you can do this with regions by reg.mean(), and make your own
plot in matplotlib.
2) If I do a Z projection on a domain with high X,Y spatial resolution,
will it average cells along X and Y (within the pixel limits) at each Z
depth as it projects? Or, just pick a single cell at X,Y for each pixel?

Also, does anyone know if the reg.mean() function weights the cells equally
in the mean if there is varied spatial resolution? For example, I know the
reg.integrate() function multiplies by path length, but reg.sum() simply
adds up cell values.

Thanks!

Scott

Scott Feister, Ph.D.
Postdoctoral Researcher, Flash Center for Computational Science
University of Chicago, Department of Astronomy and Astrophysics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20161004/87bbdbfd/attachment.htm>


More information about the yt-users mailing list