treefarm.treefarm.TreeFarm.set_ancestry_short

TreeFarm.set_ancestry_short(ancestry_short, *args, **kwargs)[source]

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.