ytree.tree_farm.ancestry_checker.AncestryChecker¶
-
class
ytree.tree_farm.ancestry_checker.
AncestryChecker
(function, args=None, kwargs=None)[source]¶ An AncestryCheck is a function that is responsible for determining whether one halo is an ancestor of another.
Parameters: - descendent_ids (list of ints) – Member ids for first halo.
- ancestor_ids (list of int) – Member ids for second halo.
- function should return True or False. (The) –
-
__init__
(function, args=None, kwargs=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(function[, args, kwargs])Initialize self.