Hi Sina,
There is no established method for doing this within yt. I have heard
mention of attempts to do things like this by simply passing cell masses
and centers as particle masses and positions to a halo finder, but I have
no idea how well this would work. If you're interested to try, you can try
re-saving your simulation dataset using the save_as_dataset
https://yt-project.org/docs/dev/analyzing/saving_data.html command (which
turns the data into a particle-like format), then making a new field called
'particle_mass' that just returns the cell mass, and then passing this data
to a halo finder. The rockstar halo finder in yt only supports single-mass
particles, but this might work with the HOP halo finder. Again, I have no
idea how well this will work, but something like this is the route to take
if you'd like to try.
Good luck!
Britton
On Sun, Jun 2, 2019 at 7:24 AM Sina Hooshangi
Hello,
I have an enzo cosmology simulation which consists only baryonic matter and no dark matter and I'm trying to find halos on this baryonic field. but the HaloCatalog requests particle_mass and probably all other particle fields. is there any way to run HaloCatalog on baryonic fields without defining particle fields?
if not, is there any well-defined way to turn gas fields in particle fields in yt?
Thanks. _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org