-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finding Halos with Two Separate Particle Species Contributing to the Structure #210
Comments
Is it possible to get nearer to what you want with a |
As I read the code, specifically |
That is wonderful to hear. For some more context, the two particle species have vastly different masses (one can end up being practically zero, while the other is constant at around 10^10 Msun). Would these different masses have a greater impact on the mean interparticle spacing? Would this possible impact on mean interparticle spacing directly affect how Rockstar finds halos? |
As for a separate issue, is there a place where I can edit the code in my yt-astro-analysis to account for only the first N particles in the simulation? I am trying to run Rockstar with a time series, so I cannot perform |
I honestly cannot say. This question is specific to the Rockstar algorithm, which I don't understand all that well. The mean interparticle spacing informs the linking length used in the friend-of-friends step. That's about all I can contribute to the understanding here. I'm not sure if there is Rockstar mailing list. You might just have to experiment with doing it with and without the low-mass particles.
I'm not sure I understand why you would need to do this. It should not be necessary. |
This is not a bug, but it is a question of Rockstar's capabilities.
I am currently running some simulations with two forms of Dark Matter, decaying and stable. With these simulations, I am using yt_astro_analysis' capabilities with Rockstar to find halos. I was looking through the code for how Rockstar runs, and I found this section in the
_setup_parameters
function ofRockstarHaloFinder
in therockstar.py
file.Before this section of code,
self.particle_mass = None
and I have passed in the particle typeall
, which includes both the stable dark matter and decaying dark matter species. I want both species to contribute to the halos, but this code seems like all of the particles' masses will be set to the species that has the lower mass.Is there a way for me to allow both species to have their pre-defined masses instead of being assigned by Rockstar? Is this possible to do already or should I make some code to allow for multiple species?
The text was updated successfully, but these errors were encountered: