[yt-users] gadget visualization
Desika Narayanan
dnarayan at haverford.edu
Fri Nov 15 10:19:05 PST 2013
Hey Team YT,
I have a quick question about basic visualization with yt and gadget, with
reference to the following simple script:
http://paste.yt-project.org/show/4058/
If I try to SlicePlot the snapshot, I get a series of errors which are
copied below. Is it not possible to perform these sorts of plotting
routines on the raw gadget data? (as an addendum, if I project to an
octree grid using yt, I am able to make slice and projection plots).
Thanks,
Desika
Traceback (most recent call last):
File "gadget_slice.py", line 14, in <module>
slc = SlicePlot(pf,'z',('PartType0', 'Density'))
File
"/Users/desika/yt-3.0/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py",
line 2148, in SlicePlot
return AxisAlignedSlicePlot(pf, normal, fields, *args, **kwargs)
File
"/Users/desika/yt-3.0/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py",
line 1322, in __init__
fontsize=fontsize)
File
"/Users/desika/yt-3.0/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py",
line 809, in __init__
PWViewer.__init__(self, *args, **kwargs)
File
"/Users/desika/yt-3.0/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py",
line 620, in __init__
if setup: self._setup_plots()
File
"/Users/desika/yt-3.0/yt-x86_64/src/yt-hg/yt/visualization/plot_window.py",
line 915, in _setup_plots
image = self._frb[f]
File
"/Users/desika/yt-3.0/yt-x86_64/src/yt-hg/yt/visualization/fixed_resolution.py",
line 128, in __getitem__
self._period, int(self.periodic),
_MPL.error: data is of incorrect type (wanted 1D float)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20131115/ce1539bd/attachment.htm>
More information about the yt-users
mailing list