ytree.tree_farm.ancestry_filter.most_massive

ytree.tree_farm.ancestry_filter.most_massive(halo, ancestors)

Return only the most massive ancestor.

halo: halo data container
Data container of the descendent halo.
ancestors : list of halo data containers
List of data containers for the ancestor halos.
filtered_ancestors : list of halo data containers
List containing data container of most massive halo.