I've been working on extracting the gas residing in the halo "fuzz," which is geometrically part of the halo but not bound to any specific subhalo. My goal is to partition the gas particles within the halo for studying the CGM, similar to what they do in this paper (https://arxiv.org/abs/2004.07846), but using TNG-50.
Initially, I attempted to retrieve the ParticleIDs corresponding to the entire halo, the central subhalo, and all satellite subhalos:
Finally, I aimed to determine the count for the "fuzz" so that I could know the number of gas particles in the fuzz (and subsequently the fuzz gas IDs):
Oh yeah. thank you, I overlooked it! Now that I already have the number of gas particles in the halo fuzz, how do I actually get the information about other properties of that gas? Would it be possible to use something like this? :
Hello,
I've been working on extracting the gas residing in the halo "fuzz," which is geometrically part of the halo but not bound to any specific subhalo. My goal is to partition the gas particles within the halo for studying the CGM, similar to what they do in this paper (https://arxiv.org/abs/2004.07846), but using TNG-50.
Initially, I attempted to retrieve the ParticleIDs corresponding to the entire halo, the central subhalo, and all satellite subhalos:
Then, I computed the total number of particles for each of them:
Finally, I aimed to determine the count for the "fuzz" so that I could know the number of gas particles in the fuzz (and subsequently the fuzz gas IDs):
However, this approach seems to be wrong because the numbers don't align. For instance, for my_halo_id = 39:
What would be the optimal method for identifying the gas particles belonging to the halo but not bound to any subhalo?
Thank you in advance.
I think the issue is just that you are double-counting the central subhalo, also including it as a satellite.
should be
?
Oh yeah. thank you, I overlooked it! Now that I already have the number of gas particles in the halo fuzz, how do I actually get the information about other properties of that gas? Would it be possible to use something like this? :
or would it be more appropriate to retrieve it from the overall gas content of the halo?:
Thank you in advance
If you can create
gas_fuzz_ind
, then you should use it as in your second example.These would be particle/cell indices, so they should index a particle/cell array.
They are not subhaloIDs, so they cannot be input as a subhaloID.
Hello,
I'm currently facing issues with loading gas properties, specifically positions. I've already obtained the gas_fuzz_ind array:
I have tried this:
However, I encountered the error:
where 3744117 is the length of the gas_halo_pos array. Additionally, I tried loading positions by specifying gas indices:
But this resulted in the following error:
I'm not quite sure how to retrieve this information.
Thank you in advance.
Those are not indices, they are too big. Indices can only go from
0
to the number of gas in a snapshot, for example.Perhaps they are ParticleIDs instead?