[yt-users] Inverted image

j s oishi jsoishi at gmail.com
Wed May 16 09:19:15 PDT 2012


Hi Max,

Could you send more information? What code are you using? Could you
pastebin the full script? write_image should not write an upside-down
image, but I need more info in order to help.

Jeff

On Wed, May 16, 2012 at 9:13 AM, Massimo Gaspari <gaspmax at hotmail.com> wrote:
> Hi guys,
>
>
> After a projection and a FixedResolutionBuffer like this:
>
>
> proj  = pf.h.proj(axis, "Temperature", None)
> frb1  = FixedResolutionBuffer(proj, (xmin,xmax,ymin,ymax), res)
> write_image(na.log10(frb1["Temperature"]), "output.png")
>
>
> I see an inverted image (my computational box is half a cube, z>0 only):
> http://i.imgur.com/AqWKD.png
>
>
> Is the problem in write_image? Or inside the projection/FRB?
> How to fix this (without transpose)?
>
>
> Thanks,
>
>
>   Max
>
> _______________________________________________
> 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