<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Reju,<div><br></div><div>“halos[0]” is the first halo in the list of halos found by yt’s HaloFinder. </div><div><br></div><div>Rather than looking directly at the source list, I recommend exploring the examples of how to use yt’s cosmology analysis tools:</div><div><br></div><div><a href="http://yt-project.org/docs/dev/cookbook/cosmological_analysis.html">http://yt-project.org/docs/dev/cookbook/cosmological_analysis.html</a></div><div><br></div><div>and for the details of halo finding:</div><div><br></div><div><a href="http://yt-project.org/docs/2.6/analyzing/analysis_modules/running_halofinder.html?highlight=virial_radius">http://yt-project.org/docs/2.6/analyzing/analysis_modules/running_halofinder.html?highlight=virial_radius</a></div><div><br></div><div><br></div><div>Elizabeth</div><div><br></div><div><br><div><div>On May 27, 2014, at 4:01 PM, Reju Sam John <<a href="mailto:rejusamjohn@gmail.com">rejusamjohn@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Dear All,<div><div>How to find virial radius from enzo output. From the following page </div><div><a href="http://yt-project.org/docs/2.6/reference/api/generated/yt.analysis_modules.halo_finding.halo_objects.FOFHalo.virial_radius.html?highlight=virial%20radius#yt.analysis_modules.halo_finding.halo_objects.FOFHalo.virial_radius">http://yt-project.org/docs/2.6/reference/api/generated/yt.analysis_modules.halo_finding.halo_objects.FOFHalo.virial_radius.html?highlight=virial%20radius#yt.analysis_modules.halo_finding.halo_objects.FOFHalo.virial_radius</a></div>
<div><br></div><div>I came to know that there is a function called virial_radius(). But how to use it?</div><div>In the provided example </div><div><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 22.399999618530273px; text-align: justify;"><span class="" style="margin-top:0px;margin-right:0px;padding:0px;color:rgb(198,93,9);font-weight:bold">>>> </span><span class="" style="margin:0px;padding:0px">vr</span> <span class="" style="margin:0px;padding:0px;color:rgb(102,102,102)">=</span> <span class="" style="margin:0px;padding:0px">halos</span><span class="" style="margin:0px;padding:0px">[</span><span class="" style="margin:0px;padding:0px;color:rgb(32,128,80)">0</span><span class="" style="margin:0px;padding:0px">]</span><span class="" style="margin:0px;padding:0px;color:rgb(102,102,102)">.</span><span class="" style="margin:0px;padding:0px"><span class="" style="margin:0px;padding:0px;background-color:rgb(251,229,78)">virial</span>_<span class="" style="margin:0px;padding:0px;background-color:rgb(251,229,78)">radius</span></span><span class="" style="margin:0px;padding:0px">()</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 22.399999618530273px; text-align: justify;">what is ' <span style="font-family:arial">halos</span><span class="" style="font-family:arial;margin:0px;padding:0px">[</span><span class="" style="font-family:arial;margin:0px;padding:0px;color:rgb(32,128,80)">0</span><span class="" style="font-family:arial;margin:0px;padding:0px">] ' ?</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 22.399999618530273px; text-align: justify;"><span class="" style="font-family:arial;margin:0px;padding:0px"><br></span></pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 22.399999618530273px; text-align: justify;"><span class="" style="font-family:arial;margin:0px;padding:0px">Thank You</span></pre></div><div> <br clear="all"><div><br></div>-- <br><div dir="ltr">Reju Sam John</div>
</div></div></div>
_______________________________________________<br>yt-users mailing list<br><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br></blockquote></div><br></div></body></html>