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.

  • halo (halo data container) – Data container of the descendent halo.
  • ancestor (halo data container) – Data container for the ancestor halo.
  • function should return True or False. (The) –
__init__(function, args=None, kwargs=None)[source]

Initialize self. See help(type(self)) for accurate signature.


__init__(function[, args, kwargs]) Initialize self.