ytree.tree_farm.tree_farm.TreeFarm.set_selector

TreeFarm.set_selector(selector, *args, **kwargs)

Set the method for selecting candidate halos for tracing halo ancestry.

The default selector is “all”, i.e., check every halo for a possible match. This can be slow. The “sphere” selector can be used to specify that only halos within some sphere be checked.

selector : string
Name of selector.