Node
- class gpype.backend.core.node.Node
Bases:
objectBase of every g.Pype node.
Normalises output to the pipeline’s array contract and reports configuration keys it does not recognise. It holds no licensing logic: entitlement is decided by an ioiocore authorization provider, which nothing installs yet.
- __init__(target=None)
- take_load()
Return the busy time since the last call, and reset it.
Reading and resetting together is what makes the number a rate rather than a total: the caller divides by its own elapsed wall time, so two readings taken a second apart describe that second.
An exception inside
step()is not counted. The node is marked ERROR and stops processing, so the cycle it failed on is not a cycle whose cost anyone can act on.
- property name
- __repr__()
The class, the name and what the author set.
Bandpass('bp', f_lo=9, f_hi=11). A parameter of the class’s own__init__is shown where its stored value differs from the declared default: the signature’s, or aDEFAULT_<PARAM>class attribute, the catalogue’s rule. One with no declared default shows the value the constructor chose, such as a Generator’s frame size. What is not a parameter – the ports, the id, a filter’s coefficients – is not shown, and nor is the name where it is the class name, the default.Runs only when printed, so it adds nothing to a cycle.
- Return type: