stimpyp.stimulus.FunctionStim#
- class stimpyp.stimulus.FunctionStim#
Bases:
NamedTupleFunctionStim(index, time, pos_xy, size_xy)
- __init__()#
Methods
Attributes
stimulus index
object center position XY.
object size width and height.
stim on-off time.
- index: int#
stimulus index
- time: ndarray#
stim on-off time. Array[float, 2].
- pos_xy: ndarray#
object center position XY. Array[float, 2]
- size_xy: ndarray#
object size width and height. Array[float, 2]
- static __new__(_cls, index, time, pos_xy, size_xy)#
Create new instance of FunctionStim(index, time, pos_xy, size_xy)
- Parameters:
index (int)
time (ndarray)
pos_xy (ndarray)
size_xy (ndarray)
- count(value, /)#
Return number of occurrences of value.