[yt-users] Rendering non-cubical volumes

Chris Beaumont cnb4ster at gmail.com
Tue Jun 4 11:59:30 PDT 2013


Hi,

I'm new to yt and this list, so I apologize if this question has been
answered before.

I'm trying to render a non-cubical volume (observational data: see an early
attempt at https://vimeo.com/67421373). If I supply a scalar "resolution"
to Camera.__init__, the output is a square, even though the input data is
~2x wider than it is tall. If I supply a tuple of values, I can manually
stretch the image but, as you can tell from the movie, I want to spin
around the volume. I don't think that messing with resolution will help me
in this case, since the projected aspect ratio of the plot changes at each
rotation step.

I did find an old thread similar to this (
http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2012-July/002793.html),
but the recipe there seem specific to axis-aligned slices, and not generic
rotations.

Is there a natural way to force yt to render pixels with the "right" aspect
ratio?


Thanks,
Chris


-- 
************************************
Chris Beaumont
Graduate Student
Institute for Astronomy
University of Hawaii at Manoa
2680 Woodlawn Drive
Honolulu, HI 96822
www.ifa.hawaii.edu/~beaumont
************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130604/fcadccef/attachment.htm>


More information about the yt-users mailing list