<div dir="ltr">Hi Nick,<div><br></div><div style>It looks like lc only has 2 values in it.  If fixing that to lc = [0.0, 0.0, 0.4] works (or still breaks), let us know. </div><div style><br></div><div style>Cheers,</div><div style>

Sam</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 27, 2013 at 10:02 AM, nick moeckel <span dir="ltr"><<a href="mailto:nickolas1@gmail.com" target="_blank">nickolas1@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">Hi there,<div><br></div><div>I'm dealing with some athena data right now, and running into some issues with defining regions. </div>

<div><br></div><div>an example, with domain_left_edge = [0, 0, 0], and right_edge = [1, 1, 1]</div>

<div><br></div><div><div>In [18]: center=[0.5,0.5,0.5]</div><div>In [19]: lc = [0,0,0.4]</div><div>In [20]: rc=[1.0,1.0,0.6]</div><div>In [21]: region = pf.h.region(center, lc, rc)</div><div>In [22]: region.volume()</div>



<div>Out[22]: -inf</div><div><br></div><div>I'm able to get at region.quantities, but trying to make a projection plot fails.  </div><div><br></div><div>Interestingly, or maybe not, if I try to do something similar with data that has its domain centered on the origin, the volume is finite and everything I've tried with plotting works fine. I guess athena support is still a bit preliminary, but I thought I'd throw this out there.</div>



<div><br></div><div>best,</div><div>Nick</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></div>