yt.analysis_modules.level_sets.clump_validators module

ClumpValidators and callbacks.

class yt.analysis_modules.level_sets.clump_validators.ClumpValidator(function, args=None, kwargs=None)[source]

Bases: object

A ClumpValidator is a function that takes a clump and returns True or False as to whether the clump is valid and shall be kept.

yt.analysis_modules.level_sets.clump_validators.add_validator(name, function)[source]