[yt-users] Data objects in yt
k.grisdale at surrey.ac.uk
k.grisdale at surrey.ac.uk
Tue Dec 10 04:55:44 PST 2013
Hi yt users
I am using yt to create data objects to sample properties in a RAMSES simulation at different locations. I want to create a cuboid data object with x and y width of 0.2 and a z width of 0.4. I have been using the following commands to create the object:
>>> left = [0.4,0.4,0.3]
>>> cen = [0.5,0.5,0.5]
>>> right = [0.6,0.6,0.7]
>>> box = pf.h.region(cen, left, right)
My Question is will this create a data object of the shape that I want or will it create something else? Is there a way to see the shape of the data object?
Thanks in advance for the help
Kearn
More information about the yt-users
mailing list