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

On Mar 14, 2016, at 2:30 PM, Daniel Fenn <dsfenn@gmail.com> wrote:


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?


yt-users mailing list