File size: 8,727 Bytes
7ebed01
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
    "IzhikevichTest": {
        "format": "ModECI MDF v0.4",
        "metadata": {
            "preferred_duration": 0.7,
            "preferred_dt": 0.0005
        },
        "graphs": {
            "IzhikevichTest": {
                "notes": "Example Izhikevich",
                "nodes": {
                    "izhPop": {
                        "parameters": {
                            "v0": {
                                "value": [
                                    -0.08
                                ]
                            },
                            "C": {
                                "value": [
                                    1e-10
                                ]
                            },
                            "k": {
                                "value": [
                                    7e-07
                                ]
                            },
                            "vr": {
                                "value": [
                                    -0.06
                                ]
                            },
                            "vt": {
                                "value": [
                                    -0.04
                                ]
                            },
                            "vpeak": {
                                "value": [
                                    0.035
                                ]
                            },
                            "a": {
                                "value": [
                                    30.0
                                ]
                            },
                            "b": {
                                "value": [
                                    -2e-09
                                ]
                            },
                            "c": {
                                "value": [
                                    -0.05
                                ]
                            },
                            "d": {
                                "value": [
                                    1e-10
                                ]
                            },
                            "spike": {
                                "default_initial_value": [
                                    0
                                ],
                                "conditions": {
                                    "condition_0_on": {
                                        "test": "v > vpeak",
                                        "value": 1
                                    },
                                    "condition_0_off": {
                                        "test": "spike > 0",
                                        "value": 0
                                    }
                                }
                            },
                            "v": {
                                "default_initial_value": "v0",
                                "conditions": {
                                    "condition_0": {
                                        "test": "v > vpeak",
                                        "value": "c"
                                    }
                                },
                                "time_derivative": "iMemb / C"
                            },
                            "u": {
                                "default_initial_value": "0",
                                "conditions": {
                                    "condition_0": {
                                        "test": "v > vpeak",
                                        "value": "u + d"
                                    }
                                },
                                "time_derivative": "a * (b * (v-vr) - u)"
                            },
                            "iSyn": {
                                "value": "synapses_i"
                            },
                            "iMemb": {
                                "value": "k * (v-vr) * (v-vt) + iSyn - u"
                            }
                        },
                        "input_ports": {
                            "synapses_i": {}
                        },
                        "output_ports": {
                            "spike": {
                                "value": "spike"
                            },
                            "v": {
                                "value": "v"
                            },
                            "u": {
                                "value": "u"
                            },
                            "iMemb": {
                                "value": "iMemb"
                            }
                        },
                        "notes": "Cell: [Cell(notes=None, id='izhCell', parameters={'v0': 'v0', 'C': 'C', 'k': 'k', 'vr': 'vr', 'vt': 'vt', 'vpeak': 'vpeak', 'a': 'a', 'b': 'b', 'c': 'c', 'd': 'd'}, neuroml2_source_file=None, lems_source_file=None, neuroml2_cell='izhikevich2007Cell', pynn_cell=None, arbor_cell=None, bindsnet_node=None)] is defined in None and in Lems is: Component, id: izhCell, type: izhikevich2007Cell,\n   parameters: {'v0': '-80mV', 'C': '100 pF', 'k': '0.7 nS_per_mV', 'vr': '-60 mV', 'vt': '-40 mV', 'vpeak': '35 mV', 'a': '0.03 per_ms', 'b': '-2 nS', 'c': '-50 mV', 'd': '100 pA'}\n   parent: None\n"
                    },
                    "InputList_stim": {
                        "parameters": {
                            "amplitude": {
                                "value": [
                                    1e-10
                                ]
                            },
                            "delay": {
                                "value": [
                                    0.1
                                ]
                            },
                            "duration": {
                                "value": [
                                    0.5
                                ]
                            },
                            "weight": {
                                "value": [
                                    1
                                ]
                            },
                            "i": {
                                "conditions": {
                                    "condition_0": {
                                        "test": "t < delay",
                                        "value": "0"
                                    },
                                    "condition_1": {
                                        "test": "t >= delay and t < duration + delay",
                                        "value": "weight * amplitude"
                                    },
                                    "condition_2": {
                                        "test": "t >= duration + delay",
                                        "value": "0"
                                    }
                                }
                            },
                            "t": {
                                "default_initial_value": 0,
                                "time_derivative": "1"
                            }
                        },
                        "input_ports": {
                            "spike_input": {
                                "shape": [
                                    1
                                ],
                                "reduce": "add"
                            }
                        },
                        "output_ports": {
                            "i": {
                                "value": "i"
                            }
                        },
                        "notes": "Cell: [InputSource(notes=None, id='iclamp_0', parameters={'amplitude': 'stim_amp', 'delay': 'delay', 'duration': 'duration'}, neuroml2_source_file=None, neuroml2_input='pulseGenerator', lems_source_file=None, pynn_input=None)] is defined in None and in Lems is: Component, id: iclamp_0, type: pulseGenerator,\n   parameters: {'amplitude': '100pA', 'delay': '100ms', 'duration': '500ms'}\n   parent: None\n"
                    }
                },
                "edges": {
                    "Edge InputList_stim to izhPop": {
                        "name": "Edge InputList_stim to izhPop",
                        "sender_port": "i",
                        "receiver_port": "synapses_i",
                        "sender": "InputList_stim",
                        "receiver": "izhPop"
                    }
                }
            }
        }
    }
}