<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div>Here it is:</div><div><br></div><div><br></div><div><div>from yt.mods import *</div><div><br></div><div><br></div><div>axis = 0  </div><div><br></div><div>xCenter = 0.55548e24 </div><div><br></div><div>yCenter = 0.55548e24 </div><div><br></div><div>zCenter = 0.</div><div><br></div><div><br></div><div>res   = [2048, 4096]</div><div><br></div><div><br></div><div>fn = "chk_0000"</div><div><br></div><div>pf = load(fn)</div><div><br></div><div>proj = pf.h.proj(axis, "Temperature", None)</div><div><br></div><div>frb1 = FixedResolutionBuffer(proj, (0., xCenter*2., 0., xCenter), res) </div><div><br></div><div>write_image(na.log10(frb1["Temperature"]), "output.png")</div></div><div><br></div><div><br></div><div><br></div><div>I am in the stable branch:</div><div><br></div><div><br></div><div><div>c23cb264f04c+ (stable)</div></div><div><br></div><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div><br></div><div><br></div><div>   Max</div><div><br></div><div><br></div><div><br></div><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: gaspmax@hotmail.com<br>To: yt-users@lists.spacepope.org<br>Subject: Inverted image<br>Date: Wed, 16 May 2012 18:13:39 +0200<br><br>

<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

--></style>
<div dir="ltr">
Hi guys,<div><br></div><div><br></div><div>After a projection and a FixedResolutionBuffer like this:</div><div><br></div><div><br></div><div><div>proj  = pf.h.proj(axis, "Temperature", None)</div><div><span class="ecxApple-style-span">frb1  = FixedResolutionBuffer(proj, (</span>xmin,xmax,ymin,ymax<span class="ecxApple-style-span">), res)</span></div><div>write_image(na.log10(frb1["Temperature"]), "output.png")</div></div><div><br></div><div><br></div><div>I see an inverted image (my computational box is half a cube, z>0 only):</div><div><a href="http://i.imgur.com/AqWKD.png" target="_blank">http://i.imgur.com/AqWKD.png</a></div><div><br></div><div><br></div><div>Is the problem in write_image? Or inside the projection/FRB?</div><div>How to fix this (without transpose)?</div><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div><br></div><div>  Max</div>                                    </div></div>                                        </div></body>
</html>