single_cell_parser ❭ network ❭ activate_functional_synapse
activate_functional_synapse¶
-
single_cell_parser.network.activate_functional_synapse(syn, cell, preSynCell, synParameters, tChange=
None, synParametersChange=None, forceSynapseActivation=False, releaseTimes=None)¶ Activate a single synapse.
This method simulates the activation of a single synapse onto a biophysically detailed neuron model using NEURON.
The activation times for the synapse can be passed explicitly, or generated in case
releaseTimesisNone. In the latter case, this method generates release times based on the synapse’s release probability fromsynParameters, and spike times ofpreSyncell.If they need to be generated (default behavior), the release times are calculated from the
releaseProbkeyword in the synapse parameter file. If thereleaseProbis not given, or set to'dynamic', the synapse is assumed to release each time the presynaptic cell spikes.Attention
This implementation expects all presynaptic spike times to be pre-computed. It can thus not be used in recurrent network models at this point.
- Parameters:¶
syn (
Synapse) – Synapse object.cell (
Cell) – Postsynaptic cell.preSynCell (
PointCell) – Presynaptic cell.synParameters (
NTParameterSet) – Synapse parameters, see also thesynapses.rerceptors.<syn\_type>key in the Network parameters file.tChange (float) – Time at which the synapse parameters change (e.g. the release probability due to a spike).
synParametersChange (
NTParameterSet) – Synapse parameters after change (including e.g. the release probability).forceSynapseActivation (bool) – If True, the synapse is activated regardless of the release probability.
releaseTimes (list) – List of synaptic release times. If None, the release times are generated from the
synapseParameters’sreleaseProbkeyword, If None andreleaseprobdoes not appear insynapseParameters, the release probability is assumed to equal 1, and synapse release times equal presynaptic spike times without delay.