Skip to content

Commit a3f9536

Browse files
authored
Merge pull request #28 from HanjiaJiang/new_tripartite_hj
Changing parameter values for astrocyte_lr_1994
2 parents c5a22fb + f62ddac commit a3f9536

File tree

9 files changed

+910
-927
lines changed

9 files changed

+910
-927
lines changed

doc/htmldoc/model_details/astrocyte_model_implementation.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
" y[0, 1] = 1.0\n",
171171
" y[0, 2] = 1.0\n",
172172
" fos = [] # full output dict from odeint()\n",
173-
" delta_ip3 = 5.0 # parameter determining the increase in IP3 induced by synaptic input\n",
173+
" delta_ip3 = p.delta_IP3 # parameter determining the increase in IP3 induced by synaptic input\n",
174174
"\n",
175175
" # update time-step by time-step\n",
176176
" for k in range(1, n):\n",
@@ -211,7 +211,7 @@
211211
" \"Kd_IP3_2\": 0.9434,\n",
212212
" \"Km_SERCA\": 0.1,\n",
213213
" \"ratio_ER_cyt\": 0.185,\n",
214-
" \"delta_IP3\": 5.0,\n",
214+
" \"delta_IP3\": 0.0002,\n",
215215
" \"k_IP3R\": 0.0002,\n",
216216
" \"rate_L\": 0.00011,\n",
217217
" \"tau_IP3\": 7142.0,\n",
@@ -318,7 +318,7 @@
318318
"name": "python",
319319
"nbconvert_exporter": "python",
320320
"pygments_lexer": "ipython3",
321-
"version": "3.10.10"
321+
"version": "3.12.1"
322322
}
323323
},
324324
"nbformat": 4,
-4.61 KB
Loading

models/astrocyte_lr_1994.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ nest::astrocyte_lr_1994::Parameters_::Parameters_()
123123
, Km_SERCA_( 0.1 ) // µM
124124
, SIC_scale_( 1.0 )
125125
, SIC_th_( 0.19669 ) // µM
126-
, delta_IP3_( 5.0 ) // µM
126+
, delta_IP3_( 0.0002 ) // µM
127127
, k_IP3R_( 0.0002 ) // 1/(µM*ms)
128128
, rate_IP3R_( 0.006 ) // 1/ms
129129
, rate_L_( 0.00011 ) // 1/ms

pynest/examples/astrocytes/astrocyte_brunel_bernoulli.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676

7777
sim_params = {
7878
"dt": 0.1, # simulation resolution in ms
79-
"pre_sim_time": 100.0, # pre-simulation time in ms (data not recorded)
8079
"sim_time": 1000.0, # simulation time in ms
8180
"N_rec_spk": 100, # number of neurons to record from with spike recorder
8281
"N_rec_mm": 50, # number of nodes (neurons, astrocytes) to record from with multimeter
@@ -99,7 +98,7 @@
9998
}
10099

101100
syn_params = {
102-
"w_a2n": 0.01, # weight of astrocyte-to-neuron connection
101+
"w_a2n": 0.05, # weight of astrocyte-to-neuron connection
103102
"w_e": 1.0, # weight of excitatory connection in nS
104103
"w_i": -4.0, # weight of inhibitory connection in nS
105104
"d_e": 2.0, # delay of excitatory connection in ms
@@ -112,8 +111,6 @@
112111
astrocyte_model = "astrocyte_lr_1994"
113112
astrocyte_params = {
114113
"IP3": 0.4, # IP3 initial value in µM
115-
"delta_IP3": 0.5, # Parameter determining the increase in astrocytic IP3 concentration induced by synaptic input
116-
"tau_IP3": 2.0, # Time constant of the exponential decay of astrocytic IP3
117114
}
118115

119116
###############################################################################
@@ -329,7 +326,6 @@ def run_simulation():
329326
random.seed(sim_params["seed"])
330327

331328
# simulation settings
332-
pre_sim_time = sim_params["pre_sim_time"]
333329
sim_time = sim_params["sim_time"]
334330

335331
# create and connect nodes
@@ -355,10 +351,6 @@ def run_simulation():
355351
nest.Connect(mm_neuron, neuron_list_for_mm)
356352
nest.Connect(mm_astro, astro_list_for_mm)
357353

358-
# run pre-simulation
359-
print("Running pre-simulation ...")
360-
nest.Simulate(pre_sim_time)
361-
362354
# run simulation
363355
print("Running simulation ...")
364356
nest.Simulate(sim_time)

pynest/examples/astrocytes/astrocyte_brunel_fixed_indegree.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676

7777
sim_params = {
7878
"dt": 0.1, # simulation resolution in ms
79-
"pre_sim_time": 100.0, # pre-simulation time in ms (data not recorded)
8079
"sim_time": 1000.0, # simulation time in ms
8180
"N_rec_spk": 100, # number of neurons to record from with spike recorder
8281
"N_rec_mm": 50, # number of nodes (neurons, astrocytes) to record from with multimeter
@@ -100,7 +99,7 @@
10099
}
101100

102101
syn_params = {
103-
"w_a2n": 0.01, # weight of astrocyte-to-neuron connection
102+
"w_a2n": 0.05, # weight of astrocyte-to-neuron connection
104103
"w_e": 1.0, # weight of excitatory connection in nS
105104
"w_i": -4.0, # weight of inhibitory connection in nS
106105
"d_e": 2.0, # delay of excitatory connection in ms
@@ -113,8 +112,6 @@
113112
astrocyte_model = "astrocyte_lr_1994"
114113
astrocyte_params = {
115114
"IP3": 0.4, # IP3 initial value in µM
116-
"delta_IP3": 0.5, # Parameter determining the increase in astrocytic IP3 concentration induced by synaptic input
117-
"tau_IP3": 2.0, # Time constant of the exponential decay of astrocytic IP3
118115
}
119116

120117
###############################################################################
@@ -326,7 +323,6 @@ def run_simulation():
326323
random.seed(sim_params["seed"])
327324

328325
# simulation settings
329-
pre_sim_time = sim_params["pre_sim_time"]
330326
sim_time = sim_params["sim_time"]
331327

332328
# create and connect nodes
@@ -352,10 +348,6 @@ def run_simulation():
352348
nest.Connect(mm_neuron, neuron_list_for_mm)
353349
nest.Connect(mm_astro, astro_list_for_mm)
354350

355-
# run pre-simulation
356-
print("Running pre-simulation ...")
357-
nest.Simulate(pre_sim_time)
358-
359351
# run simulation
360352
print("Running simulation ...")
361353
nest.Simulate(sim_time)

pynest/examples/astrocytes/astrocyte_interaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
# neuron parameters
8686
params_neuro = {"tau_syn_ex": 2.0}
8787
# astrocyte parameters
88-
params_astro = {"IP3_0": 0.16}
88+
params_astro = {"delta_IP3": 0.2}
8989
# weights of connections
9090
w_pre2astro = 1.0
9191
w_pre2post = 1.0

pynest/examples/astrocytes/astrocyte_single.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@
6868
# simulation time
6969
sim_time = 60000
7070
# astrocyte parameters
71-
params_astro = {"IP3_0": 0.16}
71+
params_astro = {"delta_IP3": 0.2}
7272
# Poisson input for the astrocyte
7373
poisson_rate = 1.0
74-
poisson_weight = 0.1
74+
poisson_weight = 1.0
7575

7676
###############################################################################
7777
# Create astrocyte and devices and connect them.

pynest/examples/astrocytes/astrocyte_small_network.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,7 @@
165165
astrocyte_model = "astrocyte_lr_1994"
166166
astrocyte_params = {
167167
"IP3": 0.4, # IP3 initial value in µM
168-
"delta_IP3": 2.0, # parameter determining the increase in astrocytic IP3 concentration induced by synaptic input
169-
"tau_IP3": 10.0, # time constant of the exponential decay of astrocytic IP3
168+
"delta_IP3": 0.2, # parameter determining the increase in astrocytic IP3 concentration induced by synaptic input
170169
}
171170

172171
###############################################################################

0 commit comments

Comments
 (0)