running SUBFIND within pynbody

20 views
Skip to first unread message

Kelly Holley-Bockelmann

unread,
Jan 29, 2024, 5:39:12 PM1/29/24
to pynbody-users
Hi folks,

Pynbody is awesome and I have been connecting students with it for years -- so thanks!

I need to run a older post-processing code that takes in SUBFIND halos. I do have (non-Gadget) snapshots so I thought I could use pynbody to find halos with SUBFIND like it would for AHF and Rockstar, but am I right that it looks like you can't run the subfind halofinder within pynbody? 

I also have AHF halos, too, but I don't think you can write out a halo catalog in SUBFIND format, can you?

Sorry, I know this is not an exciting issue, but before I get to writing something, I wanna double-check that there isn't a way to pynbody-ify it...

Thanks again!


Pontzen, Andrew

unread,
Jan 30, 2024, 10:51:21 AM1/30/24
to Kelly Holley-Bockelmann, pynbody-users
Dear Kelly,

Thanks for your kind words, this is always really nice to hear! 

If I understand you correctly you’re asking about launching SUBFIND from within pynbody, like it can currently launch AHF. If so, then no there’s no way to do that, nor to write out SUBFIND-format files using an AHF catalogue. Pynbody will happily read SUBFIND files, if you have them, but not create them. 

By the way, your timing is good because I am currently ripping up some of the old halo code within pynbody (it’s gotten old and creaky, and is limiting developments elsewhere; https://github.com/pynbody/pynbody/pull/763). One of the stream-linings under consideration is to remove the ability to run AHF or any halo finder from inside pynbody (https://github.com/pynbody/pynbody/issues/726), relying on the user to run the halo finder themselves. However I am interested to hear, if you are using this feature regularly, then let me know and we could try to retain it...

Thanks and all the best

Andrew



--
You received this message because you are subscribed to the Google Groups "pynbody-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pynbody-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pynbody-users/8065de20-304c-48c6-aa4b-cc80b322c6f1n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages