[yt-users] Efficient spherical average

Joseph Tomlinson jmtomlinson95 at gmail.com
Tue Apr 5 15:15:53 PDT 2016


Hi all,

I am working with some Enzo data and trying to calculate the spherically
averaged density contrast around each cell in yt, delta_2.
I was unable to find a function for this in yt so I wrote one but it is
quite slow.

http://paste.yt-project.org/show/6389/

I know that this is an expensive operation, but is there any faster way to
do this with yt?

Thanks,
Joe Tomlinson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160405/f56e765c/attachment.htm>


More information about the yt-users mailing list