There's code to calculate two-point functions (like structure functions and two-point correlation functions).  That's almost what you want - you could calculate the 2-point correlation function and do a fourier transform of it with numpy to get the power spectrum of your desired quantity.  See:<br>
<br><a href="http://yt.enzotools.org/doc/extensions/two_point_functions.html">http://yt.enzotools.org/doc/extensions/two_point_functions.html</a><br><br>--Brian<br><br><div class="gmail_quote">On Fri, Nov 12, 2010 at 2:20 PM, David Collins <span dir="ltr"><<a href="mailto:dcollins@physics.ucsd.edu">dcollins@physics.ucsd.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">You mean like a power spectrum?  Not to my knowledge.  I know at least<br>
one chap that would be excited about it, though.<br>
<br>
d.<br>
<div><div></div><div class="h5"><br>
On Fri, Nov 12, 2010 at 10:51 AM, Elizabeth Tasker <<a href="mailto:taskere@mcmaster.ca">taskere@mcmaster.ca</a>> wrote:<br>
> Hi,<br>
><br>
> No one has magically already set up a routine in yt  / enzo anyl to<br>
> calculate the energy spectrum of a simulation have they?<br>
><br>
> Elizabeth<br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Sent from my Stone Tablet and carried by my Pterodactyl.<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</div></div></blockquote></div><br>