CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
OneDimBox is a Stimulus with a predefined box-shape of given length. More...
Public Member Functions | |
def | __init__ |
Initializes a OneDimBox-object. More... | |
![]() | |
def | __init__ |
Initializes a Stimulus object. More... | |
def | update |
Updates the Stimulus, that is, the Stimulus moves according to its velocity. More... | |
OneDimBox is a Stimulus with a predefined box-shape of given length.
The user can specify the length, starting point, velocity and intensity when creating an object of this class. Spatial values need to be specified in pixels of the Surrouding's intensities-array (see MotionDetectorModel.Surroundings.one_dim.OneDim.intensities).
def CompoundPye.src.Surroundings.Stimuli.one_dim_box.OneDimBox.__init__ | ( | self, | |
length, | |||
starting_point, | |||
velocity, | |||
intensity = 1 |
|||
) |
Initializes a OneDimBox-object.
length | Length of the box in pixels. |
starting_point | Index of the left-most pixel of the box. |
velocity | Stimulus velocity in pixel/time unit. |
intensity | Height/intensity of the stimulus. |