simrun ❭ synaptic_strength_fitting ❭ run_ex_synapses
run_ex_synapses¶
- simrun.synaptic_strength_fitting.run_ex_synapses(neuron_param, network_param, celltype, gAMPA=None, gNMDA=None, gGABA=None, vardt=False, tStim=None, tEnd=None, mode='cells')¶
Simulate all EPSPs of a given celltype, one by one.
This function is used in the
PSPsclass to simulate each synapse.- Parameters:¶
neuron_param (NTParameterSet) – The Cell parameters.
network_param (NTParameterSet) – The Network parameters.
celltype (str) – The celltype to activate the synapse for. Used to fetch the correct network parameters.
gAMPA (float) – The AMPA conductance value. Default:
None.gNMDA (float) – The NMDA conductance value. Default:
None.gGABA (float) – The GABA conductance value. Default:
None.vardt (bool) – Whether to use the variable step size solver. Default:
False.tStim (float) – The time of the synaptic activation. Default:
None.tEnd (float) – The end time of the simulation. Default:
None.mode (str) – Whether to activate each synapse one by one, or each cell one by one. A presynaptic cell may have multiple synaptic connections with the neuron model (i.e. the
Cell). Options:('cells', 'synapses')
- Returns:¶
A tuple containing the votlage bbaseline, and voltage traces of all synapses. Format:
(t\_baseline, v\_baseline, [t\_vecs], [v\_vecs])- Return type:¶
tuple
See also
run_ex_synapse()for the core function to simulate a single synapse.