CompoundPye  0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
 All Classes Namespaces Functions Variables Pages
CompoundPye.src.Sensors.create_array Namespace Reference

NOT USED SINCE v0.42! Provides functions to create arrays of sensors (e.g. More...

Functions

def create_sensor_array
 Creates an array of sensors, and sets their receptive fields. More...
 
def create_2_dim_photoreceptor_array
 Creates a two-dimensional array of photoreceptors(sensors). More...
 

Detailed Description

NOT USED SINCE v0.42! Provides functions to create arrays of sensors (e.g.

Author
Ilyas Kuhlemann ilyas.nosp@m.p.ku.nosp@m.@gmai.nosp@m.l.co.nosp@m.m
Date
14.11.14 a block of photoreceptors).

Function Documentation

def CompoundPye.src.Sensors.create_array.create_2_dim_photoreceptor_array (   dt,
  start,
  n,
  distance,
  filter = 'gaussian',
  filter_params = [],
  filter_kw_params = {'sigma':[5 
)

Creates a two-dimensional array of photoreceptors(sensors).

Parameters
dtTime step; necessary for updateing the photoreceptors.
startStarting coordinates of the block (in pixels).
nNumber of sensors (needs to be a list/array with two elements for 2-dimensional surroundings).
distanceDistance in pixels between two neighboring sensors.
filterKeyword to select a filter; options (only one at the moment...): gaussian
filter_paramsList of parameters to be passed on to the filter function.
filter_kw_paramsDictionary containing keyword parameters to be passed on to the filter function.
Returns
Array of Sensor-objects.
def CompoundPye.src.Sensors.create_array.create_sensor_array (   start,
  n,
  distance,
  filter = 'gaussian',
  filter_params = [],
  filter_kw_params = {'sigma':[5 
)

Creates an array of sensors, and sets their receptive fields.

The user needs to provide the starting point (center of first sensor's receptive field), the number of sensors and the distance between neighbors' receptive fields.

Parameters
startStarting coordinates of the block (position of the first sensor's receptive field in pixels).
nNumber of sensors (needs to be a list/array with two elements for 2-dimensional surroundings).
distanceDistance in pixels between two neighboring sensors' receptive fields.
filterKeyword to select a filter; options (only one at the moment...): gaussian
filter_paramsList of parameters to be passed on to the filter function.
filter_kw_paramsDictionary containing keyword parameters to be passed on to the filter function.
Returns
Array of Sensor-objects.