[yt-users] Inverted image

Nathan Goldbaum goldbaum at ucolick.org
Wed May 16 09:35:31 PDT 2012


Also are you in the stable or the development branch?  There have been some recent changes in the development branch that may fix your problem.



On May 16, 2012, at 9:19 AM, j s oishi <jsoishi at gmail.com> wrote:

> 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
>> 
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> 
> !DSPAM:10175,4fb3d38768312963918155!
> 



More information about the yt-users mailing list