def __init__( self, reset=0, source=None, ): DUGen.__init__( self, reset=reset, source=source, )
def __init__( self, index=None, sequence=None, ): DUGen.__init__( self, index=index, sequence=sequence, )
def __init__( self, repeats=1, sequence=None, ): DUGen.__init__( self, repeats=repeats, sequence=sequence, )
def __init__( self, n=None, source=None, ): DUGen.__init__( self, n=n, source=source, )
def __init__( self, max_buffer_size=1024, protected=True, source=None, ): DUGen.__init__( self, max_buffer_size=max_buffer_size, protected=protected, source=source, )
def __init__( self, buffer_id=0, loop=1, phase=0, ): DUGen.__init__( self, buffer_id=buffer_id, loop=loop, phase=phase, )
def __init__( self, length=float('inf'), start=1, step=1, ): if length is None: length = float('inf') DUGen.__init__( self, length=length, start=start, step=step, )
def __init__( self, grow=2, length=float('inf'), start=1, ): if length is None: length = float('inf') DUGen.__init__( self, grow=grow, length=length, start=start, )
def __init__( self, length=float('inf'), maximum=1, minimum=0, ): if length is None: length = float('inf') DUGen.__init__( self, length=length, maximum=maximum, minimum=minimum, )
def __init__( self, calculation_rate=None, label=None, run=1, source=None, trigid=-1, ): DUGen.__init__( self, calculation_rate=calculation_rate, label=label, run=run, source=source, trigid=trigid, )
def __init__( self, repeats=1, sequence=None, weights=None, ): if not isinstance(sequence, collections.Sequence): sequence = [sequence] sequence = tuple(float(_) for _ in sequence) if not isinstance(weights, collections.Sequence): weights = [weights] weights = tuple(float(_) for _ in weights) weights = weights[:len(sequence)] weights += (0.,) * (len(sequence) - len(weights)) DUGen.__init__( self, repeats=repeats, length=len(sequence), sequence=sequence, weights=weights, )
def __init__( self, repeats=1, sequence=None, weights=None, ): if not isinstance(sequence, collections.Sequence): sequence = [sequence] sequence = tuple(float(_) for _ in sequence) if not isinstance(weights, collections.Sequence): weights = [weights] weights = tuple(float(_) for _ in weights) weights = weights[:len(sequence)] weights += (0., ) * (len(sequence) - len(weights)) DUGen.__init__( self, repeats=repeats, length=len(sequence), sequence=sequence, weights=weights, )