Module sig :: Class FilteredSignal
[frames] | no frames]

Class FilteredSignal

Signal --+
         |
        FilteredSignal

Signal filtered by a function, applied to a fixed-sized window of previous values

Instance Methods
 
__init__(self, s, f, w)
 
sample(self, n)

Inherited from Signal: __add__, __mul__, __rmul__, crossings, mean, period, plot, samplesInRange

Method Details

__init__(self, s, f, w)
(Constructor)

 
Parameters:
  • s - Signal
  • f - Procedure maping w numbers into a number
  • w - positive integer