简体   繁体   English

如何在 NEST 模拟器中设置 Connection 的突触类型?

[英]How to set a Connection's synapse type in the NEST simulator?

Following the tutorial for the Python interface to the NEST simulator I have created 2 neuron populations and connected them:按照 Python 接口到 NEST 模拟器的教程,我创建了 2 个神经元群并将它们连接起来:

import nest
ndict = {"I_e": 200.0, "tau_m": 20.0}
nest.SetDefaults("iaf_psc_alpha", ndict)
neuronpop1 = nest.Create("iaf_psc_alpha", 100)
neuronpop2 = nest.Create("iaf_psc_alpha", 100)

nest.Connect(neuronpop1, neuronpop2, syn_spec={"weight":20.0})

But how could I connect them with a specific synapse model like the ones listed in the model directory ?但是我如何将它们与特定的突触 model 连接起来,就像model 目录中列出的那些?

If I understand the question correctly, you want to connect neurons with specific connectivity patterns.如果我正确理解了这个问题,您希望将神经元与特定的连接模式连接起来。

The default connection pattern of nest.Connect is "all_to_all". nest.Connect的默认连接模式是“all_to_all”。

More details about the available patterns are detailed in the Connect documentation .有关可用模式的更多详细信息,请参阅Connect文档

You can also see the available rules by calling nest.ConnectionRules() .您还可以通过调用nest.ConnectionRules()查看可用的规则。

If you're using ipython or jupyter, you can get the docstring locally by typing nest.Connect?如果您使用的是 ipython 或 jupyter,您可以通过键入nest.Connect? . .

EDIT: to change synapse type (how it transmits incoming signals), please see the "synapse types" documentation .编辑:要更改突触类型(它如何传输传入信号),请参阅“突触类型”文档

You can find examples for tsodyks or quantal_stdp synapses.您可以找到tsodyksquantal_stdp突触的示例。

An example with your populations would be:您的人口的一个例子是:

# connect populations with depressing synapses
dep_params = {"U": 0.67, "u": 0.67, 'x': 1.0, "tau_rec": 450.0,
              "tau_fac": 0.0, "weight": 250.}

nest.CopyModel("tsodyks_synapse", "dep_syn", syn_param)

nest.Connect(neuronpop1, neuronpop2, syn_spec="dep_syn")

for synapses where close subsequent spikes would have less and less effect on the post-synaptic neuron.对于突触,其中关闭的后续尖峰对突触后神经元的影响越来越小。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM