treefarm.ancestry_filter.most_massive
- treefarm.ancestry_filter.most_massive(halo, ancestors)[source]
Return only the most massive ancestor.
- Parameters:
halo (halo data container) – Data container of the descendent halo.
ancestors (list of halo data containers) – List of data containers for the ancestor halos.
- Returns:
filtered_ancestors – List containing data container of most massive halo.
- Return type:
list of halo data containers