Hi Kearn,
If you want to physically see the shape of the object you are creating, you
can provide it as a data source to a project. For example, take your
region and do:
plot = ProjectionPlot(pf, "x", "Density", data_source=box)
plot.save()
Britton
On Tue, Dec 10, 2013 at 12:58 PM, Sam Geen
As a general Python piece of advice, if you type "help(box)" after those lines it'll give you the class interface of the box object and its docstrings.
On 10/12/13 13:55, k.grisdale@surrey.ac.uk wrote:
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:
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
left = [0.4,0.4,0.3] the data object?
Thanks in advance for the help
Kearn _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org