Extract a dataset attribute and call a function with it and the samples.
This node takes a dataset’s samples and a configurable attribute and passes them to a custom callable. This node can be used to implement comparisons, or error quantifications.
When called with a dataset the node returns a new dataset with the return value of the callable as samples.
Notes
Available conditional attributes:
(Conditional attributes enabled by default suffixed with +)
Methods
| generate(ds) | Yield processing results. |
| get_postproc() | Returns the post-processing node or None. |
| get_space() | Query the processing space name of this node. |
| reset() | |
| set_postproc(node) | Assigns a post-processing node Set to None to disable postprocessing. |
| set_space(name) | Set the processing space name of this node. |
| Parameters: | fx : callable
space : str
enable_ca : None or list of str
disable_ca : None or list of str
postproc : Node instance, optional
descr : str
|
|---|
Methods
| generate(ds) | Yield processing results. |
| get_postproc() | Returns the post-processing node or None. |
| get_space() | Query the processing space name of this node. |
| reset() | |
| set_postproc(node) | Assigns a post-processing node Set to None to disable postprocessing. |
| set_space(name) | Set the processing space name of this node. |