ytree.tree_farm.tree_farm.TreeFarm.trace_descendents

TreeFarm.trace_descendents(halo_type, fields=None, filename=None)

Trace the descendents of all halos.

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

Parameters:
  • 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.