yt.analysis_modules.halo_analysis.halo_filters.
HaloFilter
(function, *args, **kwargs)[source]¶A HaloFilter is a function that minimally takes a Halo object, performs some analysis, and returns either True or False. The return value determines whether the Halo is added to the final halo catalog being generated by the HaloCatalog object.