[Amr] yt oblique slice.

Jorge Poco jorge.poco at kitware.com
Thu Jun 30 14:26:52 EDT 2011


Hi Matt,

I want to use the Oblique Slice. What is the correct way to create it? I'm
using this script:


from yt.mods import *

pf = load("/home/jpocom/projects/yt/yt-source/tests/DD0010/moving7_0010")
cut = pf.h.cutting([0, 0, 1], [0.5, 0.5], fields=['Density'])
frb = ObliqueFixedResolutionBuffer(cut, (0.0, 1.0, 0.0, 1.0), (512, 512))

but, it's giving me an error:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/home/jpocom/projects/yt/yt-source/yt/visualization/fixed_resolution.py",
line 104, in __init__
    xax = x_dict[axis]
IndexError: list index out of range

Regards,
Att. Jorge Poco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/amr/attachments/20110630/78b37a53/attachment-0001.html>


More information about the Amr mailing list