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.spikes
attribute is used assource
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 (dict | Dict[
ParameterSet
]) – Dictionary orParameterSet
of receptors. Each individual receptor in this collection must be of the typeParameterSet
.