yt.analysis_modules.level_sets.clump_info_items module

ClumpInfoCallback and callbacks.

class yt.analysis_modules.level_sets.clump_info_items.ClumpInfoCallback(name, function, args=None, kwargs=None)[source]

Bases: object

A ClumpInfoCallback is a function that takes a clump, computes a quantity, and returns a string to be printed out for writing clump info.

yt.analysis_modules.level_sets.clump_info_items.add_clump_info(name, function)[source]