treefarm.ancestry_short.AncestryShort

class treefarm.ancestry_short.AncestryShort(function, args=None, kwargs=None)[source]

An AncestryShort takes a halo and an ancestor halo and determines if the ancestry search should come to an end.

Parameters:
  • halo (halo data container) – Data container of the descendent halo.

  • ancestor (halo data container) – Data container for the ancestor halo.

  • False. (The function should return True or)

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

Methods

__init__(function[, args, kwargs])