I have a question that if I know one gas particleid, is there any way to get the subhaloid it bound to?
Hello Yi He,
You can use the "offsets" and their definitions to do this, we discussed in another thread with an example function.
I am not sure I have understood about the function. Does the "SubhaloLenType" mean that I need to know the whole particles of one subhalo or the length of the particles so I can find the subhalo id?
Just the length (number) of particles.