-
Notifications
You must be signed in to change notification settings - Fork 3
/
SetDynamicParameters.m
339 lines (304 loc) · 23.3 KB
/
SetDynamicParameters.m
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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
%% Set dynamic parameters for a specified model.
%
% ARGUMENTS:
% Dynamics -- The dynamics field of a BrainNetwrorkModels options
% structure. At least Dynamics.WhichModel must be set
% and for BRRW and AFR models Dynamics.BrainState
% must also be set.
%
% OUTPUT:
% Dynamics -- The dynamics field of a BrainNetwrorkModels options
% structure with default parameter fields filled.
%
% USAGE:
%{
%Specify a local dynamic model
options.Dynamics.WhichModel = 'FHN';
options.Dynamics = SetDynamicParameters(options.Dynamics);
%}
%
% MODIFICATION HISTORY:
% SAK(06-01-2010) -- Original.
% SAK(Nov 2013) -- Move to git, future modification history is
% there...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function Dynamics = SetDynamicParameters(Dynamics)
switch Dynamics.WhichModel
case {'BRRWtess' 'AFRtess'}
defaults.csf = 0.00;
switch lower(Dynamics.BrainState)
case{'eo'} %Rest-state eyes open
defaults.Theta_e = 15.0; %(mV) - Mean neuronal threshold for Excitatory cortical population.
defaults.Theta_s = 15.0; %(mV) - Mean neuronal threshold for specific thalamic population.
defaults.Theta_r = 15.0; %(mV) - Mean neuronal threshold for reticular thalamic population.
defaults.sigma_e = 6.0; %(mV) - Threshold variability for Excitatory cortical population.
defaults.sigma_s = 6.0; %(mV) - Threshold variability for specific thalamic population.
defaults.sigma_r = 6.0; %(mV) - Threshold variability for reticular thalamic population.
defaults.Qmax = 0.250; %?(/ms) - Maximum firing rate
defaults.v = 10.00; %(mm/ms) - Conduction velocity
defaults.r_e = 80.0; %(mm) - Mean range of axons
%%%DERIVED%%% defaults.gamma_e = 0.125; %(/ms) - Ratio of conduction velocity to mean range of axons
defaults.alfa = 0.060; %(/ms) - Inverse decay time of membrane potential... current values a=50; b=4*a; are consistent
defaults.btta = 4.0*defaults.alfa; %(/ms) - Inverse rise time of membrane potential ... with parmaters relevant to sleep stage II.
defaults.CTdelay = 40.0; %(ms) - Corticothalamic delay
defaults.TCdelay = 40.0; %(ms) - Thalamocortical delay
defaults.nu_ee = 17.0e2; %(mV ms) - Excitatory corticocortical gain/coupling
defaults.nu_ei = -18.0e2; %(mV ms) - Inhibitory corticocortical gain/coupling
defaults.nu_es = 12.0e2; %(mV ms) - Specific thalamic nuclei to cortical gain/coupling
defaults.nu_se = 10.0e2; %(mV ms) - Cortical to specific thalamic nuclei gain/coupling... turn seizure on and off
defaults.nu_sr = -10.0e2; %(mV ms) - Thalamic reticular nucleus to specific thalamic nucleus gain/coupling
defaults.nu_sn = 10.0e2; %(mV ms) - Nonspecific subthalamic input onto specific thalamic nuclei gain/coupling
defaults.nu_re = 4.0e2; %(mV ms) - Excitatory cortical to thalamic reticular nucleus gain/coupling
defaults.nu_rs = 2.0e2; %(mV ms) - Specific to reticular thalamic nuclei gain/coupling
case{'ec'} %Rest-state eyes closed
defaults.Theta_e = 15.0; %(mV) - Mean neuronal threshold for Excitatory cortical population.
defaults.Theta_s = 15.0; %(mV) - Mean neuronal threshold for specific thalamic population.
defaults.Theta_r = 15.0; %(mV) - Mean neuronal threshold for reticular thalamic population.
defaults.sigma_e = 6.0; %(mV) - Threshold variability for Excitatory cortical population.
defaults.sigma_s = 6.0; %(mV) - Threshold variability for specific thalamic population.
defaults.sigma_r = 6.0; %(mV) - Threshold variability for reticular thalamic population.
defaults.Qmax = 0.250; %?(/ms) - Maximum firing rate
defaults.v = 10.00; %(mm/ms) - Conduction velocity
defaults.r_e = 80.0; %(mm) - Mean range of axons
%%%DERIVED%%% defaults.gamma_e = 0.125; %(/ms) - Ratio of conduction velocity to mean range of axons
defaults.alfa = 0.060; %(/ms) - Inverse decay time of membrane potential... current values a=50; b=4*a; are consistent
defaults.btta = 4.0*defaults.alfa; %(/ms) - Inverse rise time of membrane potential ... with parmaters relevant to sleep stage II.
defaults.CTdelay = 40.0; %(ms) - Corticothalamic delay
defaults.TCdelay = 40.0; %(ms) - Thalamocortical delay
defaults.nu_ee = 12.0e2; %(mV ms) - Excitatory corticocortical gain/coupling
defaults.nu_ei = -18.0e2; %(mV ms) - Inhibitory corticocortical gain/coupling
defaults.nu_es = 14.0e2; %(mV ms) - Specific thalamic nuclei to cortical gain/coupling
defaults.nu_se = 10.0e2; %(mV ms) - Cortical to specific thalamic nuclei gain/coupling... turn seizure on and off
defaults.nu_sr = -10.0e2; %(mV ms) - Thalamic reticular nucleus to specific thalamic nucleus gain/coupling
defaults.nu_sn = 10.0e2; %(mV ms) - Nonspecific subthalamic input onto specific thalamic nuclei gain/coupling
defaults.nu_re = 2.0e2; %(mV ms) - Excitatory cortical to thalamic reticular nucleus gain/coupling
defaults.nu_rs = 2.0e2; %(mV ms) - Specific to reticular thalamic nuclei gain/coupling
case{'sleepstage1' 'ss1'}
error(['BrainNetworkModels:' mfilename ':NotImplemented'], ['The default parameters for the BrainState ' Dynamics.BrainState ' are not implemented yet...']);
case{'sleepstage3' 'ss2'}
error(['BrainNetworkModels:' mfilename ':NotImplemented'], ['The default parameters for the BrainState ' Dynamics.BrainState ' are not implemented yet...']);
case{'sleepstage2' 'ss3'}
error(['BrainNetworkModels:' mfilename ':NotImplemented'], ['The default parameters for the BrainState ' Dynamics.BrainState ' are not implemented yet...']);
case{'absence' 'petitmal'} %Epilepsy -- Absence seizure
defaults.Theta_e = 15.0; %(mV) - Mean neuronal threshold for Excitatory cortical population.
defaults.Theta_s = 15.0; %(mV) - Mean neuronal threshold for specific thalamic population.
defaults.Theta_r = 15.0; %(mV) - Mean neuronal threshold for reticular thalamic population.
defaults.sigma_e = 6.0; %(mV) - Threshold variability for Excitatory cortical population.
defaults.sigma_s = 6.0; %(mV) - Threshold variability for specific thalamic population.
defaults.sigma_r = 6.0; %(mV) - Threshold variability for reticular thalamic population.
defaults.Qmax = 0.250; %?(/ms) - Maximum firing rate
defaults.v = 10.00; %(mm/ms) - Conduction velocity
defaults.r_e = 80.0; %(mm) - Mean range of axons
%%%DERIVED%%% defaults.gamma_e = 0.125; %(/ms) - Ratio of conduction velocity to mean range of axons
defaults.alfa = 0.050; %(/ms) - Inverse decay time of membrane potential... current values a=50; b=4*a; are consistent
defaults.btta = 4.0*defaults.alfa; %(/ms) - Inverse rise time of membrane potential ... with parmaters relevant to sleep stage II.
defaults.CTdelay = 40.0; %(ms) - Corticothalamic delay
defaults.TCdelay = 40.0; %(ms) - Thalamocortical delay
defaults.nu_ee = 10.0e2; %(mV ms) - Excitatory corticocortical gain/coupling
defaults.nu_ei = -18.0e2; %(mV ms) - Inhibitory corticocortical gain/coupling
defaults.nu_es = 32.0e2; %(mV ms) - Specific thalamic nuclei to cortical gain/coupling
defaults.nu_se = 44.0e2; %(mV ms) - Cortical to specific thalamic nuclei gain/coupling... turn seizure on and off
defaults.nu_sr = -8.0e2; %(mV ms) - Thalamic reticular nucleus to specific thalamic nucleus gain/coupling
defaults.nu_sn = 20.0e2; %(mV ms) - Nonspecific subthalamic input onto specific thalamic nuclei gain/coupling
defaults.nu_re = 16.0e2; %(mV ms) - Excitatory cortical to thalamic reticular nucleus gain/coupling
defaults.nu_rs = 6.0e2; %(mV ms) - Specific to reticular thalamic nuclei gain/coupling
case{'tonicclonic' 'grandmal'} %Epilepsy -- Tonic-clonic seizure
defaults.Theta_e = 15.0; %(mV) - Mean neuronal threshold for Excitatory cortical population.
defaults.Theta_s = 15.0; %(mV) - Mean neuronal threshold for specific thalamic population.
defaults.Theta_r = 15.0; %(mV) - Mean neuronal threshold for reticular thalamic population.
defaults.sigma_e = 6.0; %(mV) - Threshold variability for Excitatory cortical population.
defaults.sigma_s = 6.0; %(mV) - Threshold variability for specific thalamic population.
defaults.sigma_r = 6.0; %(mV) - Threshold variability for reticular thalamic population.
defaults.Qmax = 0.250; %?(/ms) - Maximum firing rate
defaults.v = 10.00; %(mm/ms) - Conduction velocity
defaults.r_e = 80.0; %(mm) - Mean range of axons
%%%DERIVED%%% defaults.gamma_e = 0.125; %(/ms) - Ratio of conduction velocity to mean range of axons
defaults.alfa = 0.060; %(/ms) - Inverse decay time of membrane potential... current values a=50; b=4*a; are consistent
defaults.btta = 4.0*defaults.alfa; %(/ms) - Inverse rise time of membrane potential ... with parmaters relevant to sleep stage II.
defaults.CTdelay = 40.0; %(ms) - Corticothalamic delay
defaults.TCdelay = 40.0; %(ms) - Thalamocortical delay
defaults.nu_ee = 12.0e2; %(mV ms) - Excitatory corticocortical gain/coupling
defaults.nu_ei = -18.0e2; %(mV ms) - Inhibitory corticocortical gain/coupling
defaults.nu_es = 14.0e2; %(mV ms) - Specific thalamic nuclei to cortical gain/coupling
defaults.nu_se = 10.0e2; %(mV ms) - Cortical to specific thalamic nuclei gain/coupling... turn seizure on and off
defaults.nu_sr = -10.0e2; %(mV ms) - Thalamic reticular nucleus to specific thalamic nucleus gain/coupling
defaults.nu_sn = 10.0e2; %(mV ms) - Nonspecific subthalamic input onto specific thalamic nuclei gain/coupling
defaults.nu_re = 2.0e2; %(mV ms) - Excitatory cortical to thalamic reticular nucleus gain/coupling
defaults.nu_rs = 2.0e2; %(mV ms) - Specific to reticular thalamic nuclei gain/coupling
otherwise
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
case {'BRRW' 'AFR'}
%% Default parameters BRRW
defaults.csf = 0.00;
defaults.CorticalCircumference = 880.0; % (mm)
switch lower(Dynamics.BrainState)
case{'eo'} %Rest-state eyes open
defaults.Theta_e = 15.0; %(mV) - Mean neuronal threshold for Excitatory cortical population.
defaults.Theta_s = 15.0; %(mV) - Mean neuronal threshold for specific thalamic population.
defaults.Theta_r = 15.0; %(mV) - Mean neuronal threshold for reticular thalamic population.
defaults.sigma_e = 6.0; %(mV) - Threshold variability for Excitatory cortical population.
defaults.sigma_s = 6.0; %(mV) - Threshold variability for specific thalamic population.
defaults.sigma_r = 6.0; %(mV) - Threshold variability for reticular thalamic population.
defaults.Qmax = 0.250; %(/ms) - Maximum firing rate
defaults.v = 10.00; %(mm/ms) - Conduction velocity
defaults.r_e = 80.0; %(mm) - Mean range of axons
%%%DERIVED%%% defaults.gamma_e = 0.125; %(/ms) - Ratio of conduction velocity to mean range of axons
defaults.alfa = 0.06; %(/ms) - Inverse decay time of membrane potential... current values a=50; b=4*a; are consistent
defaults.btta = 4.0*defaults.alfa; %(/ms) - Inverse rise time of membrane potential ... with parmaters relevant to sleep stage II.
defaults.CTdelay = 40.0; %(ms) - Corticothalamic delay
defaults.TCdelay = 40.0; %(ms) - Thalamocortical delay
defaults.nu_ee = 17.0e2; %(mV ms) - Excitatory corticocortical gain/coupling
defaults.nu_ei = -18.0e2; %(mV ms) - Inhibitory corticocortical gain/coupling
defaults.nu_es = 12.0e2; %(mV ms) - Specific thalamic nuclei to cortical gain/coupling
defaults.nu_se = 10.0e2; %(mV ms) - Cortical to specific thalamic nuclei gain/coupling... turn seizure on and off
defaults.nu_sr = -10.0e2; %(mV ms) - Thalamic reticular nucleus to specific thalamic nucleus gain/coupling
defaults.nu_sn = 10.0e2; %(mV ms) - Nonspecific subthalamic input onto specific thalamic nuclei gain/coupling
defaults.nu_re = 4.0e2; %(mV ms) - Excitatory cortical to thalamic reticular nucleus gain/coupling
defaults.nu_rs = 2.0e2; %(mV ms) - Specific to reticular thalamic nuclei gain/coupling
case{'ec'} %Rest-state eyes closed
defaults.Theta_e = 15.0; %(mV) - Mean neuronal threshold for Excitatory cortical population.
defaults.Theta_s = 15.0; %(mV) - Mean neuronal threshold for specific thalamic population.
defaults.Theta_r = 15.0; %(mV) - Mean neuronal threshold for reticular thalamic population.
defaults.sigma_e = 6.0; %(mV) - Threshold variability for Excitatory cortical population.
defaults.sigma_s = 6.0; %(mV) - Threshold variability for specific thalamic population.
defaults.sigma_r = 6.0; %(mV) - Threshold variability for reticular thalamic population.
defaults.Qmax = 0.250; %?(/ms) - Maximum firing rate
defaults.v = 10.00; %(mm/ms) - Conduction velocity
defaults.r_e = 80.0; %(mm) - Mean range of axons
%%%DERIVED%%% defaults.gamma_e = 0.125; %(/ms) - Ratio of conduction velocity to mean range of axons
defaults.alfa = 0.060;%(/ms) - Inverse decay time of membrane potential... current values a=50; b=4*a; are consistent
defaults.btta = 4.0*defaults.alfa; %(/ms) - Inverse rise time of membrane potential ... with parmaters relevant to sleep stage II.
defaults.CTdelay = 40.0; %(ms) - Corticothalamic delay
defaults.TCdelay = 40.0; %(ms) - Thalamocortical delay
defaults.nu_ee = 12.0e2; %(mV ms) - Excitatory corticocortical gain/coupling
defaults.nu_ei = -18.0e2; %(mV ms) - Inhibitory corticocortical gain/coupling
defaults.nu_es = 14.0e2; %(mV ms) - Specific thalamic nuclei to cortical gain/coupling
defaults.nu_se = 10.0e2; %(mV ms) - Cortical to specific thalamic nuclei gain/coupling... turn seizure on and off
defaults.nu_sr = -10.0e2; %(mV ms) - Thalamic reticular nucleus to specific thalamic nucleus gain/coupling
defaults.nu_sn = 10.0e2; %(mV ms) - Nonspecific subthalamic input onto specific thalamic nuclei gain/coupling
defaults.nu_re = 2.0e2; %(mV ms) - Excitatory cortical to thalamic reticular nucleus gain/coupling
defaults.nu_rs = 2.0e2; %(mV ms) - Specific to reticular thalamic nuclei gain/coupling
case{'sleepstage1' 'ss1'}
error(['BrainNetworkModels:' mfilename ':NotImplemented'], ['The default parameters for the BrainState ' Dynamics.BrainState ' are not implemented yet...']);
case{'sleepstage3' 'ss2'}
error(['BrainNetworkModels:' mfilename ':NotImplemented'], ['The default parameters for the BrainState ' Dynamics.BrainState ' are not implemented yet...']);
case{'sleepstage2' 'ss3'}
error(['BrainNetworkModels:' mfilename ':NotImplemented'], ['The default parameters for the BrainState ' Dynamics.BrainState ' are not implemented yet...']);
case{'absence' 'petitmal'} %Epilepsy -- Absence seizure
defaults.Theta_e = 15.0; %(mV) - Mean neuronal threshold for Excitatory cortical population.
defaults.Theta_s = 15.0; %(mV) - Mean neuronal threshold for specific thalamic population.
defaults.Theta_r = 15.0; %(mV) - Mean neuronal threshold for reticular thalamic population.
defaults.sigma_e = 6.0; %(mV) - Threshold variability for Excitatory cortical population.
defaults.sigma_s = 6.0; %(mV) - Threshold variability for specific thalamic population.
defaults.sigma_r = 6.0; %(mV) - Threshold variability for reticular thalamic population.
defaults.Qmax = 0.250; %?(/ms) - Maximum firing rate
defaults.v = 10.00; %(mm/ms) - Conduction velocity
defaults.r_e = 80.0; %(mm) - Mean range of axons
%%%DERIVED%%% defaults.gamma_e = 0.125; %(/ms) - Ratio of conduction velocity to mean range of axons
defaults.alfa = 0.050; %(/ms) - Inverse decay time of membrane potential... current values a=50; b=4*a; are consistent
defaults.btta = 4.0*defaults.alfa; %(/ms) - Inverse rise time of membrane potential ... with parmaters relevant to sleep stage II.
defaults.CTdelay = 40.0; %(ms) - Corticothalamic delay
defaults.TCdelay = 40.0; %(ms) - Thalamocortical delay
defaults.nu_ee = 10.0e2; %(mV ms) - Excitatory corticocortical gain/coupling
defaults.nu_ei = -18.0e2; %(mV ms) - Inhibitory corticocortical gain/coupling
defaults.nu_es = 32.0e2; %(mV ms) - Specific thalamic nuclei to cortical gain/coupling
defaults.nu_se = 44.0e2; %(mV ms) - Cortical to specific thalamic nuclei gain/coupling... turn seizure on and off
defaults.nu_sr = -8.0e2; %(mV ms) - Thalamic reticular nucleus to specific thalamic nucleus gain/coupling
defaults.nu_sn = 20.0e2; %(mV ms) - Nonspecific subthalamic input onto specific thalamic nuclei gain/coupling
defaults.nu_re = 16.0e2; %(mV ms) - Excitatory cortical to thalamic reticular nucleus gain/coupling
defaults.nu_rs = 6.0e2; %(mV ms) - Specific to reticular thalamic nuclei gain/coupling
case{'tonicclonic' 'grandmal'} %Epilepsy -- Tonic-clonic seizure
defaults.Theta_e = 15.0; %(mV) - Mean neuronal threshold for Excitatory cortical population.
defaults.Theta_s = 15.0; %(mV) - Mean neuronal threshold for specific thalamic population.
defaults.Theta_r = 15.0; %(mV) - Mean neuronal threshold for reticular thalamic population.
defaults.sigma_e = 6.0; %(mV) - Threshold variability for Excitatory cortical population.
defaults.sigma_s = 6.0; %(mV) - Threshold variability for specific thalamic population.
defaults.sigma_r = 6.0; %(mV) - Threshold variability for reticular thalamic population.
defaults.Qmax = 0.25; %(/ms) - Maximum firing rate
defaults.v = 10.00; %(mm/ms) - Conduction velocity
defaults.r_e = 80.0; %(mm) - Mean range of axons
%%%DERIVED%%% defaults.gamma_e = 125; %(/s) - Ratio of conduction velocity to mean range of axons
defaults.alfa = 0.06; %(/ms) - Inverse decay time of membrane potential... current values a=50; b=4*a; are consistent
defaults.btta = 4.0*defaults.alfa; %(/s) - Inverse rise time of membrane potential ... with parmaters relevant to sleep stage II.
defaults.CTdelay = 40.0; %(ms) - Corticothalamic delay
defaults.TCdelay = 40.0; %(ms) - Thalamocortical delay
defaults.nu_ee = 12.0e2; %(mV ms) - Excitatory corticocortical gain/coupling
defaults.nu_ei = -18.0e2; %(mV ms) - Inhibitory corticocortical gain/coupling
defaults.nu_es = 14.0e2; %(mV ms) - Specific thalamic nuclei to cortical gain/coupling
defaults.nu_se = 10.0e2; %(mV ms) - Cortical to specific thalamic nuclei gain/coupling... turn seizure on and off
defaults.nu_sr = -10.0e2; %(mV ms) - Thalamic reticular nucleus to specific thalamic nucleus gain/coupling
defaults.nu_sn = 10.0e2; %(mV ms) - Nonspecific subthalamic input onto specific thalamic nuclei gain/coupling
defaults.nu_re = 2.0e2; %(mV ms) - Excitatory cortical to thalamic reticular nucleus gain/coupling
defaults.nu_rs = 2.0e2; %(mV ms) - Specific to reticular thalamic nuclei gain/coupling
otherwise
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
case {'SNX'}
%% Default parameters SNX
defaults.a = 1.0;
defaults.csf = 0.076;
defaults.Qx = 0.00;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
case {'FHN','FHNtess'}
%% Default parameters FHN
defaults.d = 1.0; %TODO: set this to ~0.02; and get rid of all rescaling reinterpretations
defaults.a = 1.05;
defaults.b = 0.2;
defaults.tau = 1.25;
defaults.csf = 0.016;
defaults.Qf = 0;
defaults.Qs = 0;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
case {'ReducedFHN','ReducedFHNtess'}
%% Default parameters ReducedFHN
%Dynamics
defaults.a = 0.45;
defaults.b = 0.9;
defaults.tau = 3;
defaults.K11 = 0.5; %Internal coupling: Excitatory->Excitatory
defaults.K12 = 0.15; %Internal coupling: Excitatory->Inhibitory
defaults.K21 = defaults.K11; %Internal coupling: Inhibitory->Excitatory
defaults.csf = 0.00042;
defaults.mu = 0; %Mean of the Normal distribution
defaults.sigma = 0.35; %standard deviation of the Normal Distribution
defaults.Nv = 1500; %Resolution of Excitatory distribution (chosen in paper to match neuron count of "neuron level" simulation)
defaults.Nu = 1500; %Resolution of Inhibitory distribution (chosen in paper to match neuron count of "neuron level" simulation)
%Noise
defaults.Qx = 0; %
defaults.Qy = 0; %
defaults.Qz = 0; %
defaults.Qw = 0; %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
case {'ReducedHMR','ReducedHMRtess'}
%% Default parameters ReducedHMR
defaults.r = 0.006;
defaults.s = 4;
defaults.x0 = -1.6;
defaults.a = 1;
defaults.b = 3;
defaults.c = 1;
defaults.d = 5;
defaults.K11 = 0.5;
defaults.K12 = 0.15;
defaults.K21 = defaults.K11;
defaults.csf = 0.00042;
defaults.mu = 2.2; %Mean of the Normal distribution
defaults.sigma = 0.3; %standard deviation of the Normal Distribution
defaults.Nv = 1500; %Resolution of Excitatory distribution
defaults.Nu = 1500; %Resolution of Inhibitory distribution
%Noise
defaults.Qx = 0;
defaults.Qy = 0;
defaults.Qz = 0;
defaults.Qw = 0;
defaults.Qv = 0;
defaults.Qu = 0;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % % case {'<WhichModel>'}
% % % %% Default parameters
% % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
otherwise
end
Dynamics = MergeStructures(Dynamics, defaults);
end %function SetDynamicParameters()