[yt-users] Power Spectrum
Nathan Goldbaum
goldbaum at ucolick.org
Wed Jul 4 19:01:40 PDT 2012
Hi Tyler,
If you have a covering grid, it would probably be best to not use the yt plotting commands. Instead, you should make your own plot with your favorite plotting system of choice. Matplotlib is a nice pure-python solution and the pylab interface is very nice if you're familiar with matlab.
Cheers,
Nathan
On Jul 4, 2012, at 2:07 PM, Tyler Berg wrote:
> Hi,
>
> I am trying to plot a power spectrum from some Enzo data. Trying to figure out how to do this, I stumbled across this post:
>
> http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2012-March/002421.html
>
> I followed the instructions here, extracting a covering grid and using numpy.fft. My question now is, how do I create the plot? I've tried using PlotCollection, but I get an 'unhashable type' error when I plug in my Fourier transformed data as one of the inputs to the add_profile_sphere command. So how would I go about plotting this? Is there an alternate way to use PlotCollection, or should I be using something else altogether?
>
> Thanks in advance,
> Tyler Berg
> !DSPAM:10175,4ff4b0ae19648653422059!
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
> !DSPAM:10175,4ff4b0ae19648653422059!
More information about the yt-users
mailing list