CompoundPye  0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
 All Classes Namespaces Functions Variables Pages
CompoundPye.src.Surroundings.Stimuli.one_dim_box.OneDimBox Class Reference

OneDimBox is a Stimulus with a predefined box-shape of given length. More...

Inheritance diagram for CompoundPye.src.Surroundings.Stimuli.one_dim_box.OneDimBox:
CompoundPye.src.Surroundings.Stimuli.stimulus.Stimulus

Public Member Functions

def __init__
 Initializes a OneDimBox-object. More...
 
- Public Member Functions inherited from CompoundPye.src.Surroundings.Stimuli.stimulus.Stimulus
def __init__
 Initializes a Stimulus object. More...
 
def update
 Updates the Stimulus, that is, the Stimulus moves according to its velocity. More...
 

Detailed Description

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).

Constructor & Destructor Documentation

def CompoundPye.src.Surroundings.Stimuli.one_dim_box.OneDimBox.__init__ (   self,
  length,
  starting_point,
  velocity,
  intensity = 1 
)

Initializes a OneDimBox-object.

Parameters
lengthLength of the box in pixels.
starting_pointIndex of the left-most pixel of the box.
velocityStimulus velocity in pixel/time unit.
intensityHeight/intensity of the stimulus.

The documentation for this class was generated from the following file: