<div dir="ltr">Hi Andrew,<div><br></div><div>The rockstar interface from yt does not accept a data container in the same way that HOP and FOF do. It would be possible to add this functionality without too much trouble, but I have another solution that should work without any code modifications. If you are on the development version of yt, you can take advantage of a function associated with all data containers called save_as_dataset. This will save any fields you like from a data container in a format that can be reloaded into yt as a regular dataset. You can use this functionality to save a region data container, reload it, and run rockstar on that. I have tested this out on a small Enzo dataset and confirmed that it will work. An example of what you would need to do is below:</div><div><a href="http://paste.yt-project.org/show/6615/">http://paste.yt-project.org/show/6615/</a><br></div><div><br></div><div>You can then load in the dataset created by that script and run it through rockstar. Again, you will need to switch to the development version of yt for this.</div><div><br></div><div>Britton</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 8, 2016 at 9:03 PM, Andrew Glaser <span dir="ltr"><<a href="mailto:aglaser@haverford.edu" target="_blank">aglaser@haverford.edu</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">Hi,<div><br></div><div>I'm trying to run several different clustering algorithms and evaluate them. I'd prefer to have them all run at once, since the trials are somewhat randomized. In order to reduce the runtime (for now) I have been filtering my dataset by construction a simple yt.region object which is conveniently accepted by both HOP and FoF. However, Rockstar doesn't seem to have anything comparable. Could you recommend any way for me to easily filter the dataset and then pass it to Rockstar? I'd prefer not to have to switch out datasets in order to adjust the size/number of particles being processed for this.</div><div><br></div><div>Sincerely,</div><div>Andrew Glaser</div><span class="HOEnZb"><font color="#888888"><div><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><br><div>Andrew Glaser</div><div>B.S. <span style="font-size:12.8000001907349px">Math & Physics, C/o 2017</span></div><div>Haverford College</div><div><a href="mailto:aglaser@haverford.edu" target="_blank">aglaser@haverford.edu</a></div></div></div></div></div>
</div><img src="http://t.sidekickopen54.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v4LGDxVRs0vP1p84yFW76tWNb4PCG3vf9lvJHM01?si=6258115486154752&pi=3af3b235-5d9a-4cf0-bf7f-124d61a0e07f" style="display:none!important" height="1" width="1"></font></span></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" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>