<div dir="ltr">Thanks for the code and explanation, Sam.  I'll try this out.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 3:41 PM, Sam Skillman <span dir="ltr"><<a href="mailto:samskillman@gmail.com" target="_blank">samskillman@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Cameron, I always just save them first then enhance them later, since that's an irreversible step. There is a hub project but I can't find it at the moment. Here's the script that the hub project links to.</div>



<div><br></div><div><a href="https://bitbucket.org/samskillman/rendering_enhancement/src/a0dc61e45e923e10d84202c4f17cb66fa989a820/enhance.py?at=default" target="_blank">https://bitbucket.org/samskillman/rendering_enhancement/src/a0dc61e45e923e10d84202c4f17cb66fa989a820/enhance.py?at=default</a><br>



<div><br></div><div>The main reason clip_ratio isn't doing anything there is that the alpha channel in the example notebook (since grey_opacity=True) is 1.0. This ends up messing with the logic in clip_ratio, and tends to either muck up the image or do nothing. </div>



<div><br></div><div>Cheers,</div><div>Sam</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Apr 22, 2014 at 3:22 PM, Cameron Hummels <span dir="ltr"><<a href="mailto:chummels@gmail.com" target="_blank">chummels@gmail.com</a>></span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello,<div>

<br></div><div>I'm having some issues with volume renderings being too dark in yt 2.x.  I know that in the past, people have recommended using the "clip_ratio" argument in the various Camera methods in order to enhance the output image by clipping the values at some multiple of the standard deviation of the array.  Unfortunately, I'm having trouble getting it to actually do anything recently.</div>





<div><br></div><div>I slightly modified the notebook from the yt docs cookbook entry on the TransferFunctionHelper to demonstrate this issue.  If you scroll down to the bottom of the notebook to the bold text, you'll see what I mean.  Perhaps I'm misusing this infrastructure, but I figured I'd check with people here to set me straight.</div>





<div><br></div><div><a href="http://nbviewer.ipython.org/gist/anonymous/11196301" target="_blank">http://nbviewer.ipython.org/gist/anonymous/11196301</a></div><div><br></div><div>Oh, and note that this is simply an example--I don't think *this* VR is too dark in the notebook, but many of the ones that I generate are too dark, and I'd like to brighten them.</div>





<div><br></div><div>Thanks for the help!</div><span><font color="#888888"><div><br></div><div>Cameron<br clear="all"><div><br></div>-- <br>Cameron Hummels<div>Postdoctoral Researcher</div><div>Steward Observatory</div>

<div>University of Arizona</div>

<div><a href="http://chummels.org" target="_blank">http://chummels.org</a></div>
</div></font></span></div>
<br></div></div>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Cameron Hummels<div>Postdoctoral Researcher</div><div>Steward Observatory</div><div>University of Arizona</div><div><a href="http://chummels.org" target="_blank">http://chummels.org</a></div>


</div>