Hello ! I have written the following code in order to determine which subhalos have the same DescendentID for a given halo at snapshot 98. Something seems to be wrong with my code because a few of the outputs say that over 50 different subhalos have the same descendent - when at most it should be 2 subhalos that have merged. I would greatly appreciate any feedback on my code. I have a feeling it has something to do with how I am extracting subhaloIDs from each halo (my first block of code).
Dylan Nelson
23 Feb
I have not been able to look at your code in detail, but just a note: certainly more than two subhalos can have the same descendant in the following snapshot.
If the time spacing between snapshots was infinitesimally small, you would be correct, but it isn't. Since it is rather large (~100 Myr), many mergers involving the same object can occur, so many subhalos can disappear and all have the same descendant.
Jasmine Fitzsimons
23 Feb
I want to decrease the time period I am investigating and look at descendants for smaller periods of time - is there a way to do this? Ie. look at the time in between snapshots.
Dylan Nelson
23 Feb
No, there is no information (of relevance here) stored "between" snapshots, this is basically the definition of a snapshot.
Hello ! I have written the following code in order to determine which subhalos have the same DescendentID for a given halo at snapshot 98. Something seems to be wrong with my code because a few of the outputs say that over 50 different subhalos have the same descendent - when at most it should be 2 subhalos that have merged. I would greatly appreciate any feedback on my code. I have a feeling it has something to do with how I am extracting subhaloIDs from each halo (my first block of code).


I have not been able to look at your code in detail, but just a note: certainly more than two subhalos can have the same descendant in the following snapshot.
If the time spacing between snapshots was infinitesimally small, you would be correct, but it isn't. Since it is rather large (~100 Myr), many mergers involving the same object can occur, so many subhalos can disappear and all have the same descendant.
I want to decrease the time period I am investigating and look at descendants for smaller periods of time - is there a way to do this? Ie. look at the time in between snapshots.
No, there is no information (of relevance here) stored "between" snapshots, this is basically the definition of a snapshot.