ytree.tree_farm.halo_selector.add_halo_selector¶
-
ytree.tree_farm.halo_selector.
add_halo_selector
(name, function)¶ Add a HaloSelector to the registry of known selectors, so they can be chosen with
set_selector
.- name : string
- Name of the selector.
- function : callable
- The associated function.