class yt.analysis_modules.halo_analysis.halo_quantities.HaloQuantity(function, *args, **kwargs)[source]¶
A HaloQuantity is a function that takes minimally a Halo object,
performs some analysis, and then returns a value that is assigned
to an entry in the Halo.quantities dictionary.