CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
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... | |
NOT USED SINCE v0.42! Provides functions to create arrays of sensors (e.g.
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).
dt | Time step; necessary for updateing the photoreceptors. |
start | Starting coordinates of the block (in pixels). |
n | Number of sensors (needs to be a list/array with two elements for 2-dimensional surroundings). |
distance | Distance in pixels between two neighboring sensors. |
filter | Keyword to select a filter; options (only one at the moment...): gaussian |
filter_params | List of parameters to be passed on to the filter function. |
filter_kw_params | Dictionary containing keyword parameters to be passed on to the filter function. |
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.
start | Starting coordinates of the block (position of the first sensor's receptive field in pixels). |
n | Number of sensors (needs to be a list/array with two elements for 2-dimensional surroundings). |
distance | Distance in pixels between two neighboring sensors' receptive fields. |
filter | Keyword to select a filter; options (only one at the moment...): gaussian |
filter_params | List of parameters to be passed on to the filter function. |
filter_kw_params | Dictionary containing keyword parameters to be passed on to the filter function. |