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.
- function should return a list of integers representing the ids (The) –
- potential halos to check for ancestry. (of) –
-
__init__
(function, args=None, kwargs=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(function[, args, kwargs])Initialize self.