stimpyp.stimulus.GratingStim#
- class stimpyp.stimulus.GratingStim#
Bases:
NamedTupleGratingStim(index, time, sf, tf, direction)
- __init__()#
Methods
Attributes
- index: int#
stimulus index
- time: ndarray#
stim on-off time. Array[float, 2].
- sf: float#
SF
- tf: int#
TF
- direction: int#
Direction
- static __new__(_cls, index, time, sf, tf, direction)#
Create new instance of GratingStim(index, time, sf, tf, direction)
- Parameters:
index (int)
time (ndarray)
sf (float)
tf (int)
direction (int)
- count(value, /)#
Return number of occurrences of value.