CompoundPye
0.93
Modelling and Simulation Framework for Neural Networks of Arthropod Compound Eyes
|
Creates CompoundPye.src.Surroundings.Stimuli.stimulus.Stimulus objects with parameters entered in the GUI. More...
Functions | |
def | get_two_dim_dict |
Create a dictionary containing names and paths to all valid two dimensional stimuli classes. More... | |
def | create_single_stim |
Create a single stimulus object with given parameters. More... | |
def | create_stim |
Create a MotionDetectorModel.Surroundings.Stimuli.stimulus.Stimulus object with parameters as provided in the set of parameters. More... | |
Creates CompoundPye.src.Surroundings.Stimuli.stimulus.Stimulus objects with parameters entered in the GUI.
def CompoundPye.src.Parser.stimuli_creator.create_single_stim | ( | obj, | |
extend, | |||
start, | |||
velocity, | |||
args, | |||
px_x, | |||
px_y | |||
) |
Create a single stimulus object with given parameters.
All parameters need to/can be provided as strings.
obj | String containing the name of a Stimulus class. |
extend | String (list/float) specifying the spatial extend of the stimulus. |
start | String (list/float) specifying the relative position where the stimulus starts (at the beginning of the simulation). |
velocity | String (list/float) specifying the relative speed of the stimulus moving across the surroundings. |
args | String (list/dictionary) containing additional input parameters to the Stimulus' construnctor/__init__-function. |
px_x | Pixel of the Surroundings on the first axis. |
px_y | Pixel of the Surroundings on the second axis. |
def CompoundPye.src.Parser.stimuli_creator.create_stim | ( | px_x, | |
px_y, | |||
stim | |||
) |
Create a MotionDetectorModel.Surroundings.Stimuli.stimulus.Stimulus object with parameters as provided in the set of parameters.
px_x | Pixel of the Surroundings on the first axis. |
px_y | Pixel of the Surroundings on the second axis. |
stim | Dictionary containing the stimulus' parameters. |
def CompoundPye.src.Parser.stimuli_creator.get_two_dim_dict | ( | ) |
Create a dictionary containing names and paths to all valid two dimensional stimuli classes.