ytree.analysis.analysis_operators.AnalysisOperation

class ytree.analysis.analysis_operators.AnalysisOperation(function, *args, **kwargs)[source]

An analysis task performed by an AnalysisPipeline.

This is an internal class that facilitates keeping track of a function, arguments, and keyword arguments that together represent a single operation in a pipeline.

Parameters:function (callable) – A function that minimally accepts a TreeNode object. The function may also accept additional positional and keyword arguments.
__init__(function, *args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(function, *args, **kwargs) Initialize self.