I am working with illustris TNG100-1 How do I get the number of subhaloes within snapshot 135? I need to get a list of the id of the subhalos of snapshot 135
How do I do all that?
The header of the group catalogs contains the attribute Nsubgroups_Total.
Nsubgroups_Total
The list of IDs of all subhalos is ids = np.arange(Nsubgroups_Total).
ids = np.arange(Nsubgroups_Total)
thanks, but how do i define Nsubgroups_Total.? I need to list the ids of the subhalos
I am working with Illustris-3, with snapshot 135, and I need to obtain the ids of the subhaloes in that snapshot
As Dylan mentioned, it is ids = np.arange(Nsubgroups_Total). The subhalo ids are just arranged as increasing numbers from 0.
I am working with illustris TNG100-1
How do I get the number of subhaloes within snapshot 135?
I need to get a list of the id of the subhalos of snapshot 135
How do I do all that?
The header of the group catalogs contains the attribute
Nsubgroups_Total
.The list of IDs of all subhalos is
ids = np.arange(Nsubgroups_Total)
.thanks, but how do i define Nsubgroups_Total.?
I need to list the ids of the subhalos
I am working with Illustris-3, with snapshot 135, and I need to obtain the ids of the subhaloes in that snapshot
As Dylan mentioned, it is
ids = np.arange(Nsubgroups_Total)
.The subhalo ids are just arranged as increasing numbers from 0.