<div dir="ltr">Thank you for fixing this! <div><br></div><div>I've been using it successfully on small data sets for the past day or two now and it's working smoothly. When I try to project on a large data set (1024 base grid) it's churning away for hours (8+) before I kill it. This seems like it's slower than it should be; is this true? If this is maybe a particularity of Ramses (or all octree data) I'd be happy to help out and work off-list with whoever the volume rendering guru is to streamline this functionality for these codes.</div>

<div><br></div><div>thanks again,</div><div>Nick</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 15, 2013 at 9:34 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@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">This should be fixed now.<div><br></div><div><a href="https://bitbucket.org/yt_analysis/yt-3.0/pull-request/132/fixing-leftedge-and-rightedge-for-octree/diff" target="_blank">https://bitbucket.org/yt_analysis/yt-3.0/pull-request/132/fixing-leftedge-and-rightedge-for-octree/diff</a><br>



</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 14, 2013 at 1:55 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@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 style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">



One last thing - what are ds.domain_left_edge, ds.domain_right_edge, and ds.units?</div><div><div> <div></div> <br><p style="color:#a0a0a8">On November 14, 2013 at 1:53:15 PM, nick moeckel (<a href="mailto://nickolas1@gmail.com" target="_blank">nickolas1@gmail.com</a>) wrote:</p>



 <blockquote type="cite"><span><div><div>





<div dir="ltr">If I give it a center of [.25, .25, .25], and width
of 0.5, then the rendered part of the plot appears centered and the
right size. Labels on the axes are then off by that factor of
2. 
<div><br></div>
<div>I'll have to mess around with this more tomorrow though, it's
the end of my functioning for tonight.</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Nov 14, 2013 at 10:37 PM, Matthew
Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Okay, so my guess - although I am away from my
laptop/wifi at the moment - is that somehow the origin is being set
to the wrong location.  I can think of a few possibilities,
like the width being twice what it should be or the default being
wrong. Can you try manually specifying the center a priori? One
thing that may be getting confused is the origin coordinates. For
off axis slices, the center always gets mapped to 0,0. I don't
think it works like that for off axis projections, though, where it
uses a different method of setting the center that is with respect
to the full domain.</p>
<div>
<div>
<div class="gmail_quote">On Nov 14, 2013 4:34 PM, "nick moeckel"
<<a href="mailto:nickolas1@gmail.com" target="_blank">nickolas1@gmail.com</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I loaded it like so:
<div>
<p>ds =
load('output_00010/info_00010.txt',fields=['Density','x-velocity','y-velocity','z-velocity','Pressure'])</p>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Nov 14, 2013 at 10:31 PM, Nathan
Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@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 style="word-wrap:break-word">
<div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
How did you load the data into yt?  In particular, did you use
a units dictionary?</div>
<div>
<div><br>
<p style="color:#a0a0a8">On November 14, 2013 at 1:30:46 PM, nick
moeckel (<a href="mailto://nickolas1@gmail.com" target="_blank">nickolas1@gmail.com</a>) wrote:</p>
<blockquote type="cite">
<div>
<div>
<div dir="ltr"><span>The 100 pc box is correct, and the surface
density looks fine; the domain is 0 to 1 in all three
dimensions.</span></div>
<div class="gmail_extra"><span><br>
<br></span>
<div class="gmail_quote"><span>On Thu, Nov 14, 2013 at 10:24 PM,
Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br></span>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Hi Nick,</p>
<p dir="ltr">How do the units compare to what's in your sim? Also,
what is your domain extent? My guess is there is an assumption in
the octree floating point coordinate generation that is missing a
domain_left_edge offset.</p>
<p dir="ltr">Matt</p>
<div class="gmail_quote">
<div>
<div>On Nov 14, 2013 4:21 PM, "nick moeckel" <<a href="mailto:nickolas1@gmail.com" target="_blank">nickolas1@gmail.com</a>> wrote:<br type="attribution"></div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div dir="ltr">Hi there,
<div><br></div>
<div>are off axis projections expected to work for all frontends in
3.0? Using Ramses I'm getting some curious results. e.g.</div>
<div>
<p>p = OffAxisProjectionPlot(ds, [.1, .1, 1], 'Density',
north_vector=[0,1,0])</p>
</div>
<div>
<p>results in </p>
<p><a href="http://i.imgur.com/TzTbh7u.png" target="_blank">http://i.imgur.com/TzTbh7u.png</a></p>
<p>where the whole simulation seemt to be squished into one
quadrant.</p>
<p>best,</p>
<p>Nick</p>
<p><br></p>
<p><br></p>
</div>
</div>
<br></div>
</div>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>

<br></blockquote>
</div>
<br>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>

<br></blockquote>
</div>
<br></div>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br></div>
<br>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>

<br></blockquote>
</div>
</div>
</div>
<br>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>

<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>

<br></blockquote>
</div>
<br></div>


</div></div></span></blockquote></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>