Module ts :: Class TransducedSignalSlow
[frames] | no frames]

Class TransducedSignalSlow

sig.Signal --+
             |
            TransducedSignalSlow

Given a state a signal s and a state machine m, generate a new signal that has value 0 for any k < 0, and otherwise has the output of m, with s as its input, as its value

Instance Methods
 
__init__(self, s, m)
 
sample(self, k)
Generate sample k of this signal.

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

Method Details

sample(self, k)

 

Generate sample k of this signal. Wildly inefficient.