Hello, I am wondering if yt hop can do what enzohop used to do, namely provide a list of particle IDs associated with each halo. Correctly stated I think is that it provided for each particle ID, the halo it was in (if any). The default for yt hop is just to provide the halo list apparently, with various bulk properties. Thanks for any help... Dr. Eric J. Hallman NSF Astronomy and Astrophysics Postdoctoral Fellow Center for Astrophysics and Space Astronomy University of Colorado at Boulder hallman (at) casa.colorado.edu office(s): (303) 735-0129 / (303) 492-7484 http://solo.colorado.edu/~hallman/
Eric,
I am wondering if yt hop can do what enzohop used to do, namely provide a list of particle IDs associated with each halo. Correctly stated I think is that it provided for each particle ID, the halo it was in (if any). The default for yt hop is just to provide the halo list apparently, with various bulk properties.
indeed it can! If your halo list is as below:
haloes = HaloFinder(pf)
You can get the particles like this, for the most massive halo:
IDs = haloes[0]["particle_index"]
You can also get all the particle data for all the haloes into a HDF file 'basename.h5' like this:
haloes.write_particle_lists("basename")
Good luck! _______________________________________________________ sskory@physics.ucsd.edu o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_\(_)_______________
participants (2)
-
Eric Hallman
-
Stephen Skory