Add particle filter in time series dataset

Hi all, I'm trying to run Rockstar halo finder on multiple snapshots to make a merger tree. I referred to this page(https://yt-astro-analysis.readthedocs.io/en/latest/halo_finding.html) and ran rockstar successfully. But what I want to do is running the halo finder with filtered particles. When I run rockstar with a single snapshot it is easy to add a particle filter, but when it comes to multiple snapshots, I couldn't do it. Is there any way to add a particle filter in time series dataset or run a halo finder with filtered particles? Thanks in advance! Hyeonyong

Hi Hyeonyong, I think your best bet, unfortunately, will be to add a particle filter via iteration over the datasets. I think Britton Smith may have added a "callback" functionality that can do this; one possibility would be to supply the add step as a callback in the halo analysis. On Thu, Jan 19, 2023 at 10:41 AM HyeonYong Kim <gusdyd398@snu.ac.kr> wrote:
Hi all,
I'm trying to run Rockstar halo finder on multiple snapshots to make a merger tree. I referred to this page( https://yt-astro-analysis.readthedocs.io/en/latest/halo_finding.html) and ran rockstar successfully.
But what I want to do is running the halo finder with filtered particles. When I run rockstar with a single snapshot it is easy to add a particle filter, but when it comes to multiple snapshots, I couldn't do it.
Is there any way to add a particle filter in time series dataset or run a halo finder with filtered particles? Thanks in advance!
Hyeonyong _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: matthewturk@gmail.com

Hi, I can comment on Matt's point as I did this at some point in the past. I indeed used the call back argument when creating the timeseries to create the particle filter at dataset creation time. That works like a charm. Best, Corentin 25 Jan 2023 11:19:27 Matthew Turk <matthewturk@gmail.com>:
Hi Hyeonyong,
I think your best bet, unfortunately, will be to add a particle filter via iteration over the datasets. I think Britton Smith may have added a "callback" functionality that can do this; one possibility would be to supply the add step as a callback in the halo analysis.
On Thu, Jan 19, 2023 at 10:41 AM HyeonYong Kim <gusdyd398@snu.ac.kr> wrote:
Hi all,
I'm trying to run Rockstar halo finder on multiple snapshots to make a merger tree. I referred to this page(https://yt-astro-analysis.readthedocs.io/en/latest/halo_finding.html) and ran rockstar successfully.
But what I want to do is running the halo finder with filtered particles. When I run rockstar with a single snapshot it is easy to add a particle filter, but when it comes to multiple snapshots, I couldn't do it.
Is there any way to add a particle filter in time series dataset or run a halo finder with filtered particles? Thanks in advance!
Hyeonyong _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org https://mail.python.org/mailman3/lists/yt-users.python.org/ Member address: matthewturk@gmail.com

Dear Matt and Corentin, I really appreciate your answers. I will try what you suggest! Hyeonyong
participants (3)
-
Contact
-
HyeonYong Kim
-
Matthew Turk