ytree.tree_farm.ancestry_checker.AncestryChecker

class ytree.tree_farm.ancestry_checker.AncestryChecker(function, args=None, kwargs=None)

An AncestryCheck is a function that is responsible for determining whether one halo is an ancestor of another.

descendent_ids : list of ints
Member ids for first halo.
ancestor_ids : list of int
Member ids for second halo.

The function should return True or False.

__init__(function, args=None, kwargs=None)

Methods

__init__(function[, args, kwargs])