ytree.tree_farm.tree_farm.TreeFarm.set_ancestry_checker

TreeFarm.set_ancestry_checker(ancestry_checker, *args, **kwargs)

Set the method for determing if a halo is the ancestor of another halo.

The default method defines an ancestor as a halo where at least 50% of its particles are found in the descendent.

Parameters:ancestry_checker (string) – Name of checking method.