Good morning, I am currently working on visualization from Flash Data. I am using Slices of the internal energy along the x-axis. I have a weird line at the top of the slice (see attachment). That looks like a periodic boundary conditions problem. The thing is, I don't know whether it is a problem in my code or that I am using yt wrong. I feel like is a plot problem, I looked at the data with another visualization tool (Visit) and it doesn't seem to have this line ... Thank you for your help and have a great day, Alice [cid:AC8237E3-8ABE-47F3-9F64-9E5B7F633DCC@internal.amnh.org]
Hi Alice, I have two questions -- 1) Is your simulation being evolved with periodic boundary conditions? 2) Did you allow yt to choose the point of peak density as the center of the PlotCollection? If the answer to these are no and yes (in order) then I think what's happening is that the center of the PlotCollection is off, and yt is applying periodicity, which shows up as what you're seeing. Can you try: pc = PlotCollection(pf, 'c') pc.add_slice("eint", 0) pc.save() I think this might just be a trick of how it's centering the data. -Matt On Mon, Jul 23, 2012 at 10:53 AM, Alice Coucke <acoucke@amnh.org> wrote:
Good morning,
I am currently working on visualization from Flash Data. I am using Slices of the internal energy along the x-axis. I have a weird line at the top of the slice (see attachment). That looks like a periodic boundary conditions problem.
The thing is, I don't know whether it is a problem in my code or that I am using yt wrong. I feel like is a plot problem, I looked at the data with another visualization tool (Visit) and it doesn't seem to have this line ...
Thank you for your help and have a great day,
Alice
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Alice Coucke -
Matthew Turk