Module ExperimentObjects :: Class LoopHandler |
[hide private]
[frames] | no frames]

# Class LoopHandler

source code

    object --+
             |
          list --+
                 |
                LoopHandler

A looping experimental control object (e.g. generating a psychopy TrialHandler or StairHandler).

Instance Methods | [hide private]
new list |
__init__(self, name, loopType, nReps, trialList) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code
generateInitCode(self, buff) | source code
generateRunCode(self, buff, indent) | source code
Inherited from `list`: `__add__`, `__contains__`, `__delitem__`, `__delslice__`, `__eq__`, `__ge__`, `__getattribute__`, `__getitem__`, `__getslice__`, `__gt__`, `__hash__`, `__iadd__`, `__imul__`, `__iter__`, `__le__`, `__len__`, `__lt__`, `__mul__`, `__ne__`, `__new__`, `__repr__`, `__reversed__`, `__rmul__`, `__setitem__`, `__setslice__`, `append`, `count`, `extend`, `index`, `insert`, `pop`, `remove`, `reverse`, `sort` Inherited from `object`: `__delattr__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__str__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, name, loopType, nReps, trialList) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Parameters: `name` (string) - name of the loop e.g. trials `loopType` (string) `nReps` (int) - number of reps (for all trial types) `trialList` (list (of dicts?)) - list of different trial conditions to be used Returns: new list Overrides: object.__init__