List all ParticleIDs for a Subhalo

Jason Parisi
  • 18 Jul '16

I would like to track individual particles to the subhalo to which they are gravitationally bound. Is there a way to do this? One such useful field would be one for a subhalo, which lists the ParticleIDs for all bound particles - cannot seem to locate anything analogous on the data specifications page.

Any assistance would be much appreciated,


Jason Parisi
  • 20 Jul '16

I think I have answered this; looking at, if I wanted to load all the dark matter particles for Subhalo #3035 for example, I would write:

dm = il.snapshot.loadSubhalo(basePath,135,3035,'dm').

Dylan Nelson
  • 21 Jul '16

Hi Jason,

That's right, or dm_ids = il.snapshot.loadSubhalo(basePath,135,3035,'dm','ParticleIDs') for just the ids.

  • Page 1 of 1