I have utilized the code provided in the link below in order to extract the distance a subhalo is from a filament, cluster, or void. My strategy to determine which subhalo belongs to which environment is to extract the distance the subhalo is to the three environments - the subhalo belongs to the environment with the smallest distance value out of the three. Yes this may not be the best way but since I am taking such a large sample I think it's ok to assume that most subhalos will be within one of these three environments.
My issue:
Right now I am able to determine which environment a subhalo belongs to but not what particular environment.
For example - lets say I determine that a subhalo belongs to a filament environment - this does not mean I know which filament within the simulation.
I want to be able to distinguish between filaments.
My goal is to determine merger frequency within a given environment (filament, cluster or void) and this would require me to determine the subhalo's that "belong" to the particular environment.
I realize this is a more broad question - but I would appreciate any help!
Under the README of that package, there is a part:
Interested in working directly with the disperse files or want to query your own CW distances for different objects?
In ./lib and ./example_scripts there are a couple of scripts to quickly...
Make basic visualisations of the identified cosmic web (./example_scripts/plot_web.ipynb)
Read in disperse files and find own CW distances for a set of points (./example_scripts/find_upskel_distances.py)
I think this last file mentioned is what you want to follow. As it calculates distances, it will also know the specific filaments.
Maybe I am mistaken - but from my understanding find_upskel_distances.py extracts the distance a subhalo is from a particular filament but it does not tell you which particular filament and allow you to distinguish between them - maybe there is a way to do that using this code but I do not see how
Hello!
I have utilized the code provided in the link below in order to extract the distance a subhalo is from a filament, cluster, or void. My strategy to determine which subhalo belongs to which environment is to extract the distance the subhalo is to the three environments - the subhalo belongs to the environment with the smallest distance value out of the three. Yes this may not be the best way but since I am taking such a large sample I think it's ok to assume that most subhalos will be within one of these three environments.
My issue:
Right now I am able to determine which environment a subhalo belongs to but not what particular environment.
For example - lets say I determine that a subhalo belongs to a filament environment - this does not mean I know which filament within the simulation.
I want to be able to distinguish between filaments.
My goal is to determine merger frequency within a given environment (filament, cluster or void) and this would require me to determine the subhalo's that "belong" to the particular environment.
I realize this is a more broad question - but I would appreciate any help!
DisPerSE code from GitHub:
https://github.com/illustristng/disperse_TNG
Under the README of that package, there is a part:
I think this last file mentioned is what you want to follow. As it calculates distances, it will also know the specific filaments.
Maybe I am mistaken - but from my understanding find_upskel_distances.py extracts the distance a subhalo is from a particular filament but it does not tell you which particular filament and allow you to distinguish between them - maybe there is a way to do that using this code but I do not see how