Shankar,<div><br></div><div>r_min is defined in your email:</div><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">r_min = 2 * self.pf.h.get_smallest_dx() * <a href="http://self.pf" style="color:rgb(6, 88, 181)" target="_blank">self.pf</a>['mpc']</span></div>



<div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">it's twice the smallest dx in units of mpc, dx being the smallest cell size.  it is being rejected because your halo has something like 3 cells (radial) in it, which is almost certainly not resolved.  </span></font></div>



<div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">sam<br>
</span></font><br><div class="gmail_quote">On Tue, Dec 8, 2009 at 2:11 PM, Agarwal, Shankar <span dir="ltr"><<a href="mailto:sagarwal@ku.edu" target="_blank">sagarwal@ku.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Hi,<br>
<br>
While running HaloProfiler, I am seeing this...<br>
<br>
P001 yt.lagos   ERROR      2009-12-08 15:53:22,403 Skipping halo with r_max / r_min = 1.885682.<br>
<br>
<br>
<br>
I looked at yt/extensions/HaloProfiler.py...<br>
<br>
           r_min = 2 * self.pf.h.get_smallest_dx() * <a href="http://self.pf" target="_blank">self.pf</a>['mpc']<br>
            if (halo['r_max'] / r_min < PROFILE_RADIUS_THRESHOLD):<br>
                mylog.error("Skipping halo with r_max / r_min = %f." % (halo['r_max']/r_min))<br>
<br>
<br>
r_max would be the distance to the furthest particle in the halo as found by HaloFinder.<br>
But what is r_min ? And what is the basis for skipping this halo ?<br>
<br>
<br>
shankar<br>
_______________________________________________<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>
</blockquote></div><br><br clear="all"><br>-- <br>Samuel W. Skillman<br>DOE Computational Science Graduate Fellow<br>Center for Astrophysics and Space Astronomy<br>University of Colorado at Boulder<br>samuel.skillman[at]<a href="http://colorado.edu" target="_blank">colorado.edu</a><br>




</div>