I'm trying to extract the merger trees for specific subhalos. I'm extracting them using the SubfindID, but te result is a list of subhalos (for example when is ask for the DescendantID), but that ID's are naturrally different from the SubfindID.
In order to continue my work, I'm asking for the relation between SubfindID and SubhaloID (any conversio formula, or a code, or a complementary file), because I need to extract also another quantities, but I just can do that using the SubfindID.
If you are loading the DescendantID's of trees, then you are right that these "IDs" are referencing within the tree structure, not within the group catalog.
If you want to load some other property (or particles), then you want to load the SubfindID fields of those tree entries.
Perhaps if you can clarify a bit more what you mean, I can help further. In general, there is no equation mapping SubfindID<->SubhaloID.
I understand that the ID's in Sublink and Subfind files are different.
I'm working with the merger trees, and I'm trying to find a connection between the SublinkID and the SubfindID.
Imagine this: I track the merger tree for a specific subhalo. In this, several others subhalos appears. I take that subhalos that I find in the merger tree, and to continue my work, I'm interested in locate those subhalos in the Subfind catalog. Is that possible?
Yes, at any point in the tree you can use the combination of SnapNum and SubfindID to locate that subhalo in the Subfind catalog.
I can't understand, I mean.
In the Sublink files there are a SubfindID. But if I'm not wrong, this corresponds to the SubfindID for the subhalo I'm extracting the merger tree, not for those that I find inside de merger tree. Am I wrong?
There is SubhaloID, which is an internal tree reference, and there is SubfindID, which as described in the docs is "Index of this subhalo in the Subfind group catalog."
Hi! I have a similar problem, need know the SubfindID of the Descendant in determined subhalo, want know the properties of the Descendant. But I can't find the SubfindID for the next SnapShoot. I only have the subhaloID in the tree. Exist some way to find the decendant in the next snapshoot?
The way is: use the SubhaloID to "load" the correct entry for that descendant in the tree. Once you have the entry, it has both SnapNum and SubfindID'.
By "load" I mean find the location in the tree for this entry, similar to how the actual sublink.loadTree() function works.