[yt-users] data.LeftEdge with slice?
Matthew Turk
matthewturk at gmail.com
Thu Aug 18 10:07:49 PDT 2011
Hi Elizabeth,
On Thu, Aug 18, 2011 at 1:05 PM, Elizabeth Tasker <taskere at mcmaster.ca> wrote:
> Hi,
>
> I have a field which uses data.LeftEdge, but when I try to create a slice
> from this, it says:
>
> AttributeError: 'AMRSlice' object has no attribute 'LeftEdge'
>
> Is this because the data is not 3d? I was trying valiantly to avoid having
> to load all that in!
Yup, LeftEdge is only defined for grids and grid-like objects.
Perhaps there's a better way to get at the information you need?
There are spatial fields like x,y,z and so on.
-Matt
>
> Elizabeth
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
More information about the yt-users
mailing list