treefarm.ancestry_checker.AncestryChecker

class treefarm.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.

  • False. (The function should return True or)

__init__(function, args=None, kwargs=None)[source]

Methods

__init__(function[, args, kwargs])