single_cell_parsernetworkactivate_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 releaseTimes is None. In the latter case, this method generates release times based on the synapse’s release probability from synParameters, and spike times of preSyncell.

If they need to be generated (default behavior), the release times are calculated from the releaseProb keyword in the synapse parameter file. If the releaseProb is 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 (ParameterSet) – Synapse parameters, see also the synapses.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 (ParameterSet) – 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’s releaseProb keyword, If None and releaseprob does not appear in synapseParameters, the release probability is assumed to equal 1, and synapse release times equal presynaptic spike times without delay.