List of nodes.
A CompoundNode behaves similar to a list container: Nodes can be appended, and the chain can be sliced like a list, etc ...
Subclasses such as ChainNode and CombinedNode implement the _call method in different ways.
Notes
Available conditional attributes:
(Conditional attributes enabled by default suffixed with +)
Methods
| append(node) | Append a node to the chain. | ||
| generate(ds[, startnode]) |
|
||
| 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_space(name) | Set the processing space name of this node. |
| Parameters: | nodes: list :
enable_ca : None or list of str
disable_ca : None or list of str
space : str, optional
pass_attr : str, list of str|tuple, optional
postproc : Node instance, optional
descr : str
|
|---|
Methods
| append(node) | Append a node to the chain. | ||
| generate(ds[, startnode]) |
|
||
| 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_space(name) | Set the processing space name of this node. |
Append a node to the chain.
| Parameters: | ds: Dataset :
startnode: int :
|
|---|