single_cell_parser ❭ synapse ❭ Synapse ❭ activate_hoc_syn
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 whosesingle_cell_parser.cell.PointCell.spikesattribute is used assourcein NEURON’s NetCon object. Note that in the context of a synapse,spikesmeans 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 (dict | Dict[
NTParameterSet]) – Dictionary or NTParameterSet of receptors. Each individual receptor in this collection must be of the typeNTParameterSet.