that looks amazing, good job. thank you so much,<br><br>and yes I only want k>2 (where k = 1 / distance in code units) ;-)<br><br>Libby<br><br><div class="gmail_quote">2010/1/14 Stephen Skory <span dir="ltr"><<a href="mailto:stephenskory@yahoo.com">stephenskory@yahoo.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Libby,<br>
<br>
I've attached a quick shot at what you wanted. Please read through it and let me know if it does what you want and if I did something wrong (likely!), or if you don't understand why I did something.<br>
<br>
There is one subtlety that I should point out. It is statistically improper to consider a pair of points farther apart that 1/2 the shortest dimension of the box. Consider your starting point at the center of the box. If you look epsilon less than 1/2 of the shorted dimension of the box away towards the closest face, you're looking at a point near the periodic edge of the box. If you then look epsilon more than 1/2 the box edge past that previous point, you've reflected around the periodic boundary, and your *actual* distance is epsilon less than 1/2 because of the period. So, any distances greater than 1/2 the minimum box edge are statistically improper.<br>

<br>
I've also attached a plot which looks encouraging, I think! It would look smoother with more random points (bigger 'loopsize')<br>
<br>
I hope this helps! If it does, please let me know and I'll make it prettier and such and stick it into the yt codebase with documentation.<br>
<div><div></div><div class="h5"><br>
 _______________________________________________________<br>
<a href="mailto:sskory@physics.ucsd.edu">sskory@physics.ucsd.edu</a>           o__  Stephen Skory<br>
<a href="http://physics.ucsd.edu/%7Esskory/" target="_blank">http://physics.ucsd.edu/~sskory/</a> _.>/ _Graduate Student<br>
________________________________(_)_\(_)_______________</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"><br>-- <br>Elizabeth Harper-Clark MA MSci<br>PhD Candidate, Astrophysics, UofT<br><br><a href="http://www.astro.utoronto.ca/~h-clark">www.astro.utoronto.ca/~h-clark</a><br><a href="mailto:h-clark@cita.utoronto.ca">h-clark@cita.utoronto.ca</a><br>
AIM: edphc1<br>MSN: <a href="mailto:edphc1@hotmail.com">edphc1@hotmail.com</a><br>Skype: eharperclark<br>Office phone: 416-978-5759<br>