[yt-users] Mirroring Cartesian data about a plane for volume rendering

Daniel Fenn dsfenn at gmail.com
Tue Mar 15 09:56:00 PDT 2016


Hi Suoqing,

Thanks for the suggestion. I'll proceed along those lines.

Dan

2016-03-14 17:38 GMT-04:00 Suoqing Ji <suoqing at physics.ucsb.edu>:

> Hi Dan,
>
> I don’t think there’s a direct option of mirroring in volume rendering,
> however this is definitely doable via other ways.
>
> One way I can come up with is, you could specify the region above/below
> z=0 plane and extract fix resolution data from it (see
> http://yt-project.org/docs/dev/cookbook/constructing_data_objects.html#extracting-fixed-resolution-data),
> then mirror the data and pass it to volume rendering.
>
> Best wishes,
> --
> Suoqing JI
> Ph.D Candidate
> Department of Physics
> University of California, Santa Barbara
> http://web.physics.ucsb.edu/~suoqing
>
> On Mar 14, 2016, at 2:30 PM, Daniel Fenn <dsfenn at gmail.com> wrote:
>
> Hi,
>
> I have a 3D Cartesian FLASH dataset that I would like to mirror about the
> z=0 plane for volume rendering. Is there a straightforward way to do this
> in yt?
>
> I was unable to find any option in the volume rendering itself. My guess
> is that I'd have to perhaps make a new array representing the data and do
> the mirroring by appropriately copying the elements. However, I'm unsure
> how to go about this--especially for AMR data. Does anyone know of any
> built-in functionality that might be useful for this?
>
> Thanks.
>
> Dan
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160315/6d5ffa98/attachment.html>


More information about the yt-users mailing list