TreeFarm.trace_descendents(halo_type, fields=None, filename=None)[source]

Trace the descendents of all halos.

A merger-tree for all halos will be created, starting with the first halo catalog and moving forward.

  • halo_type (string) – The type of halo, typically “FOF” for FoF groups or “Subfind” for subhalos.
  • fields (optional, list of strings) – List of additional fields to be saved to halo catalogs.
  • filename (optional, string) – Directory in which merger-tree catalogs will be saved.