avg Class Reference
Detailed Description

schema
This circuit will return the average of an input signal, over a certain amount of time.
Initialisation parameters:
- pushed = True|False push the output buffer immediately if True
- time = sampling time (in real time units)
- moving = True|False compute average at each step (True) or only when the buffer is full (False, default)
Input channels:
- signal = signal to average
Output channels:
- out = averaged signal
Examples:
Inherits Circuit.
Additional Inherited Members | |
![]() | |
name | |
Name of the circuit. More... | |
enabled | |
if it is working... More... | |
machine | |
Reference to the virtual machine to which this circuit belongs. More... | |
pushed | |
Push output buffer at the end of Update. More... | |
I | |
Dictionary of input channels. | |
O | |
Dictionary of output channels. | |
cCoreID | |
index of circuit in cCore | |
Documentation for pyVAFM