number of subhaloes in the snapshot135

Evelyn Zagarra
  • 29 Mar

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?

Dylan Nelson
  • 29 Mar

The header of the group catalogs contains the attribute Nsubgroups_Total.

The list of IDs of all subhalos is ids = np.arange(Nsubgroups_Total).

Evelyn Zagarra
  • 30 Mar

thanks, but how do i define Nsubgroups_Total.?
I need to list the ids of the subhalos

Evelyn Zagarra
  • 30 Mar

I am working with Illustris-3, with snapshot 135, and I need to obtain the ids of the subhaloes in that snapshot

Zhaozhou Li
  • 7 Apr

As Dylan mentioned, it is ids = np.arange(Nsubgroups_Total).
The subhalo ids are just arranged as increasing numbers from 0.

  • Page 1 of 1