yt.analysis_modules.halo_analysis.halo_quantities module

Halo quantity object

class yt.analysis_modules.halo_analysis.halo_quantities.HaloQuantity(function, *args, **kwargs)[source]

Bases: yt.analysis_modules.halo_analysis.halo_callbacks.HaloCallback

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.

yt.analysis_modules.halo_analysis.halo_quantities.add_quantity(name, function)[source]
yt.analysis_modules.halo_analysis.halo_quantities.bulk_velocity(halo)[source]
yt.analysis_modules.halo_analysis.halo_quantities.center_of_mass(halo)[source]