-
Notifications
You must be signed in to change notification settings - Fork 0
Parameters
KyrusMama edited this page Sep 25, 2020
·
11 revisions
Parameters is used to specify parameter values for neurons and connections. It is also used to specify external inputs.
-
edit_neurons {<neurons to edit>} <param 1 name> <param 1 value>, <param 2 name> <param 2 value>, ...
This command sets the parameter values for a group of neurons, for any number of specified parameters. Every type of neuron has different parameters which will be covered later.- Note the
{}notation in choosing<from>and<to>. This is a way of specifying specifically which neurons should be used. Neurons can be specified by using the name of a group, by using pythons:notation, by specifying individual id numbers, or a combination. Examples of use are included above.
- Note the
-
edit_connection <connection to edit (connection name)> <param 1 name> <param 1 value>, <param 2 name> <param 2 value>, ...
This command sets the parameter values for a connection, for any number of specified parameters. Every type of synapse has different parameters which will be covered later.
-
estim {<neurons to stimulate>} {<timesteps to stimulate>} <stimulus voltage (float)>
The command will present a constant external stimulus, of the specified value, to the specified neurons at the specified times. -
ostim {<neurons to stimulate>} {<timesteps to stimulate>} <max stimulus volatage (float)> <duration (int)> <centered on which neuron (int)> <standard deviation (int)>
This command will present stimulus in a normal distribution fashion, centered on one neuron. It will only effect the specified neurons and will last for the specified duration ({<timesteps to stimulate>}here refers to the start time of this stimulus). The center neuron will recieve the maximum stimulus, and the stimulus will drop off for neurons further out based on the standard deviation. -
sniff {<neurons to stimulate>} {<timesteps to stimulate>} <max stimulus volatage (float)> <frequency> <centered on which neuron (int)> <standard deviation (int)>
This command attempts to replicate the stimulation received by the olfactory bulb due to respiration. The stimulus rises with inhalation and falls with exhalation, following a sinusoidal pattern with the specified frequency. Furthermore, the stimulus is also presented in a normal distribution, centered on one neuron. At the peak of inhalation, the center neuron will receive the maximum stimulus, and this stimulus will drop off for other neurons based on the standard deviation.
Consider:
Simulator_setup:
timestep 1
final_timestep 70
Model_structure:
group basic Sensory 25
Parameters:
edit_neurons {Sensory} time_constant 10, sigmoid_center 2, sigmoid_slope 0.01
# Simulate neurons 2,7,12,17,22 every 6 timesteps with 1V
estim {2:25:5} {::6} 1
Output:
plot neuron voltage raw {:} {:}
plot neuron raster raster {:} {:}
end
Outputted plots:

Click to return to home page: Home
- Home
- Introduction
- Python Setup/ Running the Code
- Choosing which model file to run
- Model File Format
- Save States
- Neuron and Synapse Types:
- Full Model Examples: