[yt-users] Power Spectrum

Tyler Berg hockey-rules at hotmail.ca
Thu Jul 5 10:37:37 PDT 2012


Hi Nathan,

Thanks for the tip, much appreciated.

Tyler

> From: goldbaum at ucolick.org
> Date: Wed, 4 Jul 2012 19:01:40 -0700
> To: yt-users at lists.spacepope.org
> Subject: Re: [yt-users] Power Spectrum
> 
> 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!
> 
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120705/311ba3f3/attachment.html>


More information about the yt-users mailing list