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.

halo: halo data container
Data container of the descendent halo.
ancestor : halo data container
Data container for the ancestor halo.

The function should return True or False.

__init__(function, args=None, kwargs=None)