ytree.tree_farm.halo_selector.HaloSelector

class ytree.tree_farm.halo_selector.HaloSelector(function, args=None, kwargs=None)

A HaloSelector is a function that is responsible for creating a list of ids of halos that are potentially ancestors of a given halo.

hc : halo container object
Halo container associated with the target halo.
ds2 : halo catalog-type dataset
The dataset of the ancestor halos.

The function should return a list of integers representing the ids of potential halos to check for ancestry.

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

Methods

__init__(function[, args, kwargs])