<div dir="ltr">Hi J<span style="font-size:12.8000001907349px;white-space:nowrap">osé, </span><div><span style="font-size:12.8000001907349px;white-space:nowrap"><br></span></div><div><span style="font-size:12.8000001907349px;white-space:nowrap">Unfortunately the old halo finders (HOP/FOF) don't accept a particle type keyword argument at the moment. </span></div><div><span style="font-size:12.8000001907349px;white-space:nowrap">There's a work in progress PR that implements a new version of FOF that should allow you to specify a particle</span><br></div><div><span style="font-size:12.8000001907349px;white-space:nowrap">type, it just hasn't been merged into mainline yt because it's not completely tested. It's available here </span></div><div><span style="font-size:12.8000001907349px;white-space:nowrap">(<a href="https://bitbucket.org/yt_analysis/yt/pull-requests/1618/wip-hybrid-rockstar/">https://bitbucket.org/yt_analysis/yt/pull-requests/1618/wip-hybrid-rockstar/</a>) if you wanted to test it out, and</span></div>you could run the new version of FOF as follows:<br><br>```<br><font face="monospace, monospace">from yt.analysis_modules.halo_analysis.api import HaloCatalog<br><br></font><div><font face="monospace, monospace">...</font><div><font face="monospace, monospace"><br>hc = HaloCatalog(data_ds=ds, finder_method='yt_fof',</font></div><div><font face="monospace, monospace">                             finder_kwargs={'particle_type':'my_particle_type'})<br>hc.create()</font><div>```</div><div><br><div><span style="font-size:12.8000001907349px;white-space:nowrap">Sorry thats not completely helpful, but hopefully we should have this fully implemented soon!</span></div><div><span style="font-size:12.8000001907349px;white-space:nowrap"><br></span></div><div><span style="font-size:12.8000001907349px;white-space:nowrap">-Hilary</span></div><div><span style="font-size:12.8000001907349px;white-space:nowrap"><br></span><div class="gmail_extra"><div class="gmail_quote">On Thu, Sep 3, 2015 at 10:45 AM, José Utreras <span dir="ltr"><<a href="mailto:jutreras@das.uchile.cl" target="_blank">jutreras@das.uchile.cl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Hi Nathan!<br><br></div>I thought in using the filters but I don't see how to pass this information to the group-finder methods before the groups are identified. <br><br><br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-02 15:49 GMT-04:00 Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">I'm not sure how it interacts with the halo finding / FOF machinery, but you may be interested in this docs page on particle filters:<div><br></div><div><a href="http://yt-project.org/docs/dev/analyzing/filtering.html#filtering-particle-fields" target="_blank">http://yt-project.org/docs/dev/analyzing/filtering.html#filtering-particle-fields</a><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Sep 2, 2015 at 2:43 PM, José Utreras <span dir="ltr"><<a href="mailto:jutreras@das.uchile.cl" target="_blank">jutreras@das.uchile.cl</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div>Hi everyone<br><br></div>I'm working with Enzo and I'm trying to identify groups of stars particles. Now I wanted to create groups but only of young stars. I thought using HOP but I don't see how to filter particles before crating the groups.<br><br></div>Thanks!<br><br></div>Jose<br></div>
<br></div></div>_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div></div></div>
<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" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
</div></div><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" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Hilary Egan<div><span style="font-size:12.8000001907349px">Astrophysical and Planetary Science Department</span><div>University of Colorado Boulder</div></div></div></div></div></div></div></div>