treefarm.halo_selector.all_selector

treefarm.halo_selector.all_selector(hc, ds2)[source]

Return all halos from the ancestor dataset.

Parameters:
  • hc (halo container object) – Halo container associated with the target halo.
  • ds2 (halo catalog-type dataset) – The dataset of the ancestor halos.
Returns:

my_ids – List of ids of potential halos.

Return type:

list of ints