@@ -19,19 +19,19 @@ possibility to create both connections with a single call to
19
19
20
20
import nest
21
21
22
- a = nest.Create(' hh_psc_alpha_gap' )
23
- b = nest.Create(' hh_psc_alpha_gap' )
22
+ a = nest.Create(" hh_psc_alpha_gap" )
23
+ b = nest.Create(" hh_psc_alpha_gap" )
24
24
gap_weight = 0.5
25
- syn_dict = {' synapse_model' : ' gap_junction' , ' weight' : gap_weight}
26
- conn_dict = {' rule' : ' one_to_one' , ' make_symmetric' : True }
25
+ syn_dict = {" synapse_model" : " gap_junction" , " weight" : gap_weight}
26
+ conn_dict = {" rule" : " one_to_one" , " make_symmetric" : True }
27
27
# Create gap junction between neurons a and b
28
28
nest.Connect(a, b, conn_dict, syn_dict)
29
29
30
30
In this case the reverse connection is created internally. In order to
31
31
prevent the creation of incomplete or non-symmetrical gap junctions the
32
32
creation of gap junctions is restricted to
33
33
34
- - ``one_to_one `` connections with ``' make_symmetric' : True ``
34
+ - ``one_to_one `` connections with ``" make_symmetric" : True ``
35
35
- ``all_to_all `` connections with equal source and target populations
36
36
and default or scalar parameters
37
37
@@ -56,7 +56,7 @@ level with e.g. the ``random`` module of the Python Standard Library:
56
56
n_gap_junction = 3000
57
57
58
58
gap_weight = 0.5
59
- n = nest.Create(' hh_psc_alpha_gap' , n_neuron)
59
+ n = nest.Create(" hh_psc_alpha_gap" , n_neuron)
60
60
n_list = n.tolist()
61
61
62
62
random.seed(0 )
0 commit comments