Esempio n. 1
0
 def __init__(
     self,
     reset=0,
     source=None,
     ):
     DUGen.__init__(
         self,
         reset=reset,
         source=source,
         )
Esempio n. 2
0
 def __init__(
     self,
     index=None,
     sequence=None,
     ):
     DUGen.__init__(
         self,
         index=index,
         sequence=sequence,
         )
Esempio n. 3
0
 def __init__(
     self,
     index=None,
     sequence=None,
 ):
     DUGen.__init__(
         self,
         index=index,
         sequence=sequence,
     )
Esempio n. 4
0
 def __init__(
     self,
     repeats=1,
     sequence=None,
     ):
     DUGen.__init__(
         self,
         repeats=repeats,
         sequence=sequence,
         )
Esempio n. 5
0
 def __init__(
     self,
     reset=0,
     source=None,
     ):
     DUGen.__init__(
         self,
         reset=reset,
         source=source,
         )
Esempio n. 6
0
 def __init__(
     self,
     repeats=1,
     sequence=None,
 ):
     DUGen.__init__(
         self,
         repeats=repeats,
         sequence=sequence,
     )
Esempio n. 7
0
 def __init__(
     self,
     n=None,
     source=None,
 ):
     DUGen.__init__(
         self,
         n=n,
         source=source,
     )
Esempio n. 8
0
 def __init__(
     self,
     n=None,
     source=None,
     ):
     DUGen.__init__(
         self,
         n=n,
         source=source,
         )
Esempio n. 9
0
 def __init__(
     self,
     max_buffer_size=1024,
     protected=True,
     source=None,
     ):
     DUGen.__init__(
         self,
         max_buffer_size=max_buffer_size,
         protected=protected,
         source=source,
         )
Esempio n. 10
0
 def __init__(
     self,
     buffer_id=0,
     loop=1,
     phase=0,
 ):
     DUGen.__init__(
         self,
         buffer_id=buffer_id,
         loop=loop,
         phase=phase,
     )
Esempio n. 11
0
 def __init__(
     self,
     buffer_id=0,
     loop=1,
     phase=0,
     ):
     DUGen.__init__(
         self,
         buffer_id=buffer_id,
         loop=loop,
         phase=phase,
         )
Esempio n. 12
0
 def __init__(
     self,
     max_buffer_size=1024,
     protected=True,
     source=None,
 ):
     DUGen.__init__(
         self,
         max_buffer_size=max_buffer_size,
         protected=protected,
         source=source,
     )
Esempio n. 13
0
 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,
         )
Esempio n. 14
0
 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,
         )
Esempio n. 15
0
 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,
     )
Esempio n. 16
0
 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,
     )
Esempio n. 17
0
 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,
         )
Esempio n. 18
0
 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,
     )
Esempio n. 19
0
 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,
         )
Esempio n. 20
0
 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,
     )
Esempio n. 21
0
 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,
         )
Esempio n. 22
0
 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,
     )