| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.parameterizedobject.ParameterizedObject --+
|
base.functionfamilies.OutputFn --+
|
OutputFnWithState --+
|
ActivityAveragingOF
Calculates the average of the input activity.
The average is calculated as an exponential moving average, where the weighting for each older data point decreases exponentially. The degree of weighing for the previous values is expressed as a constant smoothing factor.
The plastic parameter allows the updating of the average values to be disabled temporarily, e.g. while presenting test patterns.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
step = Number(default= 1, doc= How often to update the average. |
|||
smoothing = <topo.base.parameterclasses.Number object at 0x9dbThe degree of weighting for the previous average, when calculating the new average. |
|||
initial_average = <topo.base.parameterclasses.Number object atStarting value for the average activity. |
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|
|
|||
stepHow often to update the average. For instance, step=1 means to update it every time this OF is called; step=2 means to update it every other time.
|
smoothingThe degree of weighting for the previous average, when calculating the new average.
|
initial_averageStarting value for the average activity.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Feb 21 15:25:06 2008 | http://epydoc.sourceforge.net |