treefarm.halo_selector.HaloSelector
- class treefarm.halo_selector.HaloSelector(function, args=None, kwargs=None)[source]
A HaloSelector is a function that is responsible for creating a list of ids of halos that are potentially ancestors of a given halo.
- Parameters:
hc (halo container object) – Halo container associated with the target halo.
ds2 (halo catalog-type dataset) – The dataset of the ancestor halos.
ids (The function should return a list of integers representing the)
ancestry. (of potential halos to check for)
Methods
__init__(function[, args, kwargs])