Exemplo n.º 1
0
 def __init__(self, inmod, outmod, gain=1.0, **kwargs):
     GainConnection.__init__(self, inmod, outmod, gain=gain, **kwargs)
Exemplo n.º 2
0
 def __init__(self, inmod, outmod, gain=1.0, phasegain=R_TWO_PI, **kwargs):
     if outmod.dim < inmod.dim*2:
         raise ValueError('outmod.dim neds to be >= inmod.dim*2')
     GainConnection.__init__(self, inmod, outmod, gain=gain, **kwargs)
     self.phasegain = phasegain
     self.setArgs(phasegain = self.phasegain)