ytree.tree_farm.tree_farm.TreeFarm.set_ancestry_short

TreeFarm.set_ancestry_short(ancestry_short, *args, **kwargs)

Select a method for cutting short the ancestry search.

This can be used to speed up merger-trees for targeted halos by specifying that the search come to an end when an ancestor with greater than 50% of the halo’s mass has been found, thereby ensuring that the most massive halo has already been found.

Parameters:ancestry_short (string) – Name of short-out method.