Synapse.activate_hoc_syn

single_cell_parser.synapse.Synapse.activate_hoc_syn(source, preCell, targetCell, receptors)

Setup of all necessary hoc connections.

Stores all mechanisms and NetCons for reference counting.

Parameters:
source : single_cell_parser.cell.PointCell

Presynaptic cell whose single_cell_parser.cell.PointCell.spikes attribute is used as source in NEURON’s NetCon object. Note that in the context of a synapse, spikes means release times, which is not necessarily the same as the presynaptic spike times.

preCell : single_cell_parser.cell.PointCell

Presynaptic cell.

targetCell : single_cell_parser.cell.Cell

Postsynaptic cell.

receptors : NTParameterSet

Dictionary or NTParameterSet of receptors. Each individual receptor in this collection must be of the type NTParameterSet.