Skip to content

Commit b33ea88

Browse files
committed
fixing 450glifs examples to work with nest 2.20
1 parent 99daf54 commit b33ea88

File tree

7 files changed

+278
-10
lines changed

7 files changed

+278
-10
lines changed

docs/examples/point_450glifs/build_network.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,35 +13,35 @@
1313
### 'model_template': 'nest:iaf_psc_alpha',
1414
'model_template': 'nest:glif_lif_asc_psc',
1515
### 'dynamics_params': '472363762_point.json'
16-
'dynamics_params': '476056333_glif_lif_asc_psc.json'
16+
'dynamics_params': '476056333_glif_lif_asc_config.json'
1717
},
1818
{
1919
'model_name': 'Rorb', 'ei': 'e',
2020
### 'model_template': 'nest:iaf_psc_alpha',
2121
'model_template': 'nest:glif_lif_asc_psc',
2222
### 'dynamics_params': '473863510_point.json'
23-
'dynamics_params': '480124551_glif_lif_asc_psc.json'
23+
'dynamics_params': '480124551_glif_lif_asc_config.json'
2424
},
2525
{
2626
'model_name': 'Nr5a1', 'ei': 'e',
2727
### 'model_template': 'nest:iaf_psc_alpha',
2828
'model_template': 'nest:glif_lif_asc_psc',
2929
###'dynamics_params': '473863035_point.json'
30-
'dynamics_params': '318808427_glif_lif_asc_psc.json'
30+
'dynamics_params': '318808427_glif_lif_asc_config.json'
3131
},
3232
{
3333
'model_name': 'PV1', 'ei': 'i',
3434
### 'model_template': 'nest:iaf_psc_alpha',
3535
'model_template': 'nest:glif_lif_asc_psc',
3636
### 'dynamics_params': '472912177_point.json'
37-
'dynamics_params': '478958894_glif_lif_asc_psc.json'
37+
'dynamics_params': '478958894_glif_lif_asc_config.json'
3838
},
3939
{
4040
'model_name': 'PV2', 'ei': 'i',
4141
### 'model_template': 'nest:iaf_psc_alpha',
4242
'model_template': 'nest:glif_lif_asc_psc',
4343
### 'dynamics_params': '473862421_point.json'
44-
'dynamics_params': '487667205_glif_lif_asc_psc.json'
44+
'dynamics_params': '487667205_glif_lif_asc_config.json'
4545
}
4646
]
4747

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
node_type_id ei model_template orig_model model_type dynamics_params model_name
2-
100 e nest:glif_lif_asc_psc glif point_process 593618144_glif_lif.json Scnn1a
3-
101 e nest:glif_lif_asc_psc glif point_process 480124551_glif_lif_asc_psc.json Rorb
4-
102 e nest:glif_lif_asc_psc glif point_process 318808427_glif_lif_asc_psc.json Nr5a1
5-
103 i nest:glif_lif_asc_psc glif point_process 478958894_glif_lif_asc_psc.json PV1
6-
104 i nest:glif_lif_asc_psc glif point_process 487667205_glif_lif_asc_psc.json PV2
2+
100 e nest:glif_lif_asc_psc glif point_process 593618144_glif_lif_asc_config.json Scnn1a
3+
101 e nest:glif_lif_asc_psc glif point_process 480124551_glif_lif_asc_config.json Rorb
4+
102 e nest:glif_lif_asc_psc glif point_process 318808427_glif_lif_asc_config.json Nr5a1
5+
103 i nest:glif_lif_asc_psc glif point_process 478958894_glif_lif_asc_config.json PV1
6+
104 i nest:glif_lif_asc_psc glif point_process 487667205_glif_lif_asc_config.json PV2
77
105 e nest:iaf_psc_alpha intfire point_process IntFire1_exc_point.json LIF_exc
88
106 i nest:iaf_psc_alpha intfire point_process IntFire1_inh_point.json LIF_inh
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"El_reference": -0.0761691640218099,
3+
"C": 6.814035162092855e-11,
4+
"asc_amp_array": [
5+
-1.3008896216519995e-11,
6+
-2.0000774015506742e-10
7+
],
8+
"init_threshold": 0.028931326614574898,
9+
"threshold_reset_method": {
10+
"params": {},
11+
"name": "inf"
12+
},
13+
"th_inf": 0.028931326614574898,
14+
"spike_cut_length": 48,
15+
"init_AScurrents": [
16+
0.0,
17+
0.0
18+
],
19+
"init_voltage": 0.0,
20+
"threshold_dynamics_method": {
21+
"params": {},
22+
"name": "inf"
23+
},
24+
"voltage_reset_method": {
25+
"params": {},
26+
"name": "zero"
27+
},
28+
"extrapolation_method_name": "endpoints",
29+
"dt": 5e-05,
30+
"voltage_dynamics_method": {
31+
"params": {},
32+
"name": "linear_forward_euler"
33+
},
34+
"El": 0.0,
35+
"asc_tau_array": [
36+
0.3333333333333333,
37+
0.01
38+
],
39+
"R_input": 253923530.49592742,
40+
"AScurrent_dynamics_method": {
41+
"params": {},
42+
"name": "exp"
43+
},
44+
"AScurrent_reset_method": {
45+
"params": {
46+
"r": [
47+
1.0,
48+
1.0
49+
]
50+
},
51+
"name": "sum"
52+
},
53+
"dt_multiplier": 10,
54+
"th_adapt": null,
55+
"coeffs": {
56+
"a": 1,
57+
"C": 1,
58+
"b": 1,
59+
"G": 1,
60+
"th_inf": 1.2196716966697445,
61+
"asc_amp_array": [
62+
1.0,
63+
1.0
64+
]
65+
},
66+
"type": "GLIF"
67+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"El_reference": -0.070459508895874,
3+
"C": 8.121058405283176e-11,
4+
"asc_amp_array": [
5+
-4.081827290436436e-12,
6+
-2.919766820899364e-10
7+
],
8+
"init_threshold": 0.025547322067076265,
9+
"threshold_reset_method": {
10+
"params": {},
11+
"name": "inf"
12+
},
13+
"th_inf": 0.025547322067076265,
14+
"spike_cut_length": 30,
15+
"init_AScurrents": [
16+
0.0,
17+
0.0
18+
],
19+
"init_voltage": 0.0,
20+
"threshold_dynamics_method": {
21+
"params": {},
22+
"name": "inf"
23+
},
24+
"voltage_reset_method": {
25+
"params": {},
26+
"name": "zero"
27+
},
28+
"extrapolation_method_name": "endpoints",
29+
"dt": 5e-05,
30+
"voltage_dynamics_method": {
31+
"params": {},
32+
"name": "linear_forward_euler"
33+
},
34+
"El": 0.0,
35+
"asc_tau_array": [
36+
0.3333333333333333,
37+
0.0033333333333333335
38+
],
39+
"R_input": 108752037.62601678,
40+
"AScurrent_dynamics_method": {
41+
"params": {},
42+
"name": "exp"
43+
},
44+
"AScurrent_reset_method": {
45+
"params": {
46+
"r": [
47+
1.0,
48+
1.0
49+
]
50+
},
51+
"name": "sum"
52+
},
53+
"dt_multiplier": 10,
54+
"th_adapt": null,
55+
"coeffs": {
56+
"a": 1,
57+
"C": 1,
58+
"b": 1,
59+
"G": 1,
60+
"th_inf": 1.0266432300466106,
61+
"asc_amp_array": [
62+
1.0,
63+
1.0
64+
]
65+
},
66+
"type": "GLIF"
67+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"El_reference": -0.07330062357584632,
3+
"C": 5.2353697808027724e-11,
4+
"asc_amp_array": [
5+
-1.017435274498811e-11,
6+
-1.195388378783246e-10
7+
],
8+
"init_threshold": 0.025054426480123265,
9+
"threshold_reset_method": {
10+
"params": {},
11+
"name": "inf"
12+
},
13+
"th_inf": 0.025054426480123265,
14+
"spike_cut_length": 64,
15+
"init_AScurrents": [
16+
0.0,
17+
0.0
18+
],
19+
"init_voltage": 0.0,
20+
"threshold_dynamics_method": {
21+
"params": {},
22+
"name": "inf"
23+
},
24+
"voltage_reset_method": {
25+
"params": {},
26+
"name": "zero"
27+
},
28+
"extrapolation_method_name": "endpoints",
29+
"dt": 5e-05,
30+
"voltage_dynamics_method": {
31+
"params": {},
32+
"name": "linear_forward_euler"
33+
},
34+
"El": 0.0,
35+
"asc_tau_array": [
36+
0.3333333333333333,
37+
0.01
38+
],
39+
"R_input": 146064625.9512843,
40+
"AScurrent_dynamics_method": {
41+
"params": {},
42+
"name": "exp"
43+
},
44+
"AScurrent_reset_method": {
45+
"params": {
46+
"r": [
47+
1.0,
48+
1.0
49+
]
50+
},
51+
"name": "sum"
52+
},
53+
"dt_multiplier": 10,
54+
"th_adapt": null,
55+
"coeffs": {
56+
"a": 1,
57+
"C": 1,
58+
"b": 1,
59+
"G": 1,
60+
"th_inf": 1.4257861156030993,
61+
"asc_amp_array": [
62+
1.0,
63+
1.0
64+
]
65+
},
66+
"type": "GLIF"
67+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"El_reference": -0.07208961296081545,
3+
"C": 6.402349624649017e-11,
4+
"asc_amp_array": [
5+
-3.28747057261021e-12,
6+
6.38063564461854e-11
7+
],
8+
"init_threshold": 0.025262707903637396,
9+
"threshold_reset_method": {
10+
"params": {},
11+
"name": "inf"
12+
},
13+
"th_inf": 0.025262707903637396,
14+
"spike_cut_length": 28,
15+
"init_AScurrents": [
16+
0.0,
17+
0.0
18+
],
19+
"init_voltage": 0.0,
20+
"threshold_dynamics_method": {
21+
"params": {},
22+
"name": "inf"
23+
},
24+
"voltage_reset_method": {
25+
"params": {},
26+
"name": "zero"
27+
},
28+
"extrapolation_method_name": "endpoints",
29+
"dt": 5e-05,
30+
"voltage_dynamics_method": {
31+
"params": {},
32+
"name": "linear_forward_euler"
33+
},
34+
"El": 0.0,
35+
"asc_tau_array": [
36+
0.3333333333333333,
37+
0.0033333333333333335
38+
],
39+
"R_input": 131640693.62147184,
40+
"AScurrent_dynamics_method": {
41+
"params": {},
42+
"name": "exp"
43+
},
44+
"AScurrent_reset_method": {
45+
"params": {
46+
"r": [
47+
1.0,
48+
1.0
49+
]
50+
},
51+
"name": "sum"
52+
},
53+
"dt_multiplier": 10,
54+
"th_adapt": null,
55+
"coeffs": {
56+
"a": 1,
57+
"C": 1,
58+
"b": 1,
59+
"G": 1,
60+
"th_inf": 1.0409108559897018,
61+
"asc_amp_array": [
62+
1.0,
63+
1.0
64+
]
65+
},
66+
"type": "GLIF"
67+
}

0 commit comments

Comments
 (0)