ytree.analysis.analysis_operators.AnalysisOperation
- class ytree.analysis.analysis_operators.AnalysisOperation(function, *args, always_do=False, **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
TreeNodeobject. The function may also accept additional positional and keyword arguments.
Methods
__init__(function, *args[, always_do])