treefarm.treefarm.TreeFarm.set_ancestry_filter
- TreeFarm.set_ancestry_filter(ancestry_filter, *args, **kwargs)[source]
Select a method for determining which ancestors are kept. The kept ancestors will have their ancestries tracked. This can be used to speed up merger-trees for targeted halos by specifying that only the most massive ancestor be kept.
- Parameters:
ancestry_filter (string) – Name of filter method.