[yt-users] volume rendering ramses output

mohammad safarzadeh mtsafarzadeh at gmail.com
Thu Nov 24 15:42:26 PST 2016


Hello,

I am trying to do a simple volume rendering on a ramses cosmological output
by
following the simple recipe that yt provides, but I get an AMRKDTree error.
Can I not volume render a ramses output? I am using the latest version of
YT.

here is my simple code that fails:

ds=yt.load(filename)

sc = yt.create_scene(ds, field=('gas', 'density'))

sc.camera.resolution = (1024, 1024)

sc.camera.focus = ds.arr([0.3, 0.3, 0.3], 'unitary')

sc.camera.position = ds.arr([0, 0, 0], 'unitary')

sc.render()

---> 37 sc.render()

RuntimeError: AMRKDTree does not support particle or octree-based data.

Thank you very much,
-- 
Mohammadtaher Safarzadeh, Ph.D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20161124/82b1cb21/attachment.htm>


More information about the yt-users mailing list