CARLsim
5.0.0
CARLsim: a GPU-accelerated SNN simulator
|
In this tutorial we introduce generating multi-compartment models in CARLsim. We set-up a group of four compartment (four layer) neurons. We then proceed to inject current into one of the compartments (soma) and then observe the effects of this current injection on all of the connected compartments.
The multi-compartment tutorial can be found at doc/source/tutorial/8_compartments/src/ directory.
We first set-up several CARLsim groups. These groups must have the same number of neurons and cannot be synaptically connected to each other.
We then set-up neuron parameters as we would normally with CARLsim groups. Afterwards, we set-up coupling constants for the compartments via the setCompartmentParameters method.
Now, each of the above defined groups is a compartment.
The following formula is used to calculate the current going into each compartment: Idendr = Gdown*(V - Vdown) + Sum(up)(Gup*(V - Vup))
We then proceed to connect the compartment groups together.
These four compartmentally connected CARLsim groups now represent N neurons with four compartments each (1 soma compartment & 3 dendrite compartments).
Note: Any given compartment group can only be directly connected to at most 4 other compartment groups.
Finally, we proceed to run the CARLsim network as we would normally. We inject current into the soma using the setExternalCurrent function:
The soma compartment and one neighbouring dendrite compartment will spike as a result. Changing the coupling constants, injection current, or neuron parameters will affect the results.