[英]How to create a synapse in NEURON?
How can I create a synapse in the NEURON simulator using its Python interface?如何使用其 Python 接口在 NEURON 模拟器中创建突触? I would like to create 2 Sections and connect them with a synapse, but there aren't any functions for it on the
Section
API or in the Section docs :我想创建 2 个部分并将它们与突触连接,但在
Section
API 或部分文档中没有任何功能:
from neuron import h
src = h.Section(name="source")
dest = h.Section(name="destination")
In NEURON synapses are of the family of PointProcess
es .在 NEURON 中,突触属于
PointProcess
es家族。 You can insert a PointProcess
into a Section
by accessing it on the HocInterpreter
and giving it a Segment
on the Section
.您可以通过在 HocInterpreter 上访问
HocInterpreter
并在Section
上给它一个Segment
来将PointProcess
插入到Section
中。 You then have to create a NetCon
from a voltage pointer on the presynaptic Section ( src(x)._ref_v
) to the target point process:然后,您必须从突触前部分 (
src(x)._ref_v
) 上的电压指针到目标点过程创建一个NetCon
:
from neuron import h
dest = h.Section(name="destination")
synapse = h.ExpSyn(sec(0.5))
src = h.Section(name="source")
connection = h.NetCon(src(0.5)._ref_v, synapse)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.