ytree.tree_farm.ancestry_short.AncestryShort

class ytree.tree_farm.ancestry_short.AncestryShort(function, args=None, kwargs=None)

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.
  • function should return True or False. (The) –
__init__(function, args=None, kwargs=None)

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

Methods

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