From 40744c261469aa9f2dc4dcb189e1ef12de669732 Mon Sep 17 00:00:00 2001 From: gabrevaya Date: Tue, 24 Sep 2024 16:46:49 -0300 Subject: [PATCH 1/2] allow changing the maximal conductance for the MSN M-current --- src/blox/DBS_Model_Blox_Adam_Brown.jl | 4 +++- src/blox/neuron_models.jl | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/blox/DBS_Model_Blox_Adam_Brown.jl b/src/blox/DBS_Model_Blox_Adam_Brown.jl index eb253ce6..1d617d88 100644 --- a/src/blox/DBS_Model_Blox_Adam_Brown.jl +++ b/src/blox/DBS_Model_Blox_Adam_Brown.jl @@ -71,6 +71,7 @@ struct Striatum_MSN_Adam <: CompositeBlox σ=4.0, density=0.3, weight=0.1, + G_M=1.3, connection_matrix=nothing ) n_inh = [ @@ -82,7 +83,8 @@ struct Striatum_MSN_Adam <: CompositeBlox I_bg = I_bg[i], freq = freq[i], phase = phase[i], - σ=σ + σ=σ, + G_M=G_M ) for i in Base.OneTo(N_inhib) ] diff --git a/src/blox/neuron_models.jl b/src/blox/neuron_models.jl index 6b0d3c92..dca6d3c5 100644 --- a/src/blox/neuron_models.jl +++ b/src/blox/neuron_models.jl @@ -183,7 +183,8 @@ struct HHNeuronInhib_MSN_Adam_Blox <: AbstractInhNeuronBlox σ=4.0, a=2, b=4, - T=37 + T=37, + G_M=1.3 ) sts = @variables begin V(t)=-63.83 @@ -206,7 +207,7 @@ struct HHNeuronInhib_MSN_Adam_Blox <: AbstractInhNeuronBlox G_Na = 100 G_K = 80 G_L = 0.1 - G_M = 1.3 + G_M = G_M E_Na = 50 E_K = -100 E_L = -67 From 7d2f66aa7090fda4ff108211588b39e2b10542db Mon Sep 17 00:00:00 2001 From: gabrevaya Date: Thu, 26 Sep 2024 13:54:32 -0300 Subject: [PATCH 2/2] change default parameters in Adam's model --- src/blox/DBS_Model_Blox_Adam_Brown.jl | 16 ++++++++-------- src/blox/neuron_models.jl | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/blox/DBS_Model_Blox_Adam_Brown.jl b/src/blox/DBS_Model_Blox_Adam_Brown.jl index 1d617d88..47049b37 100644 --- a/src/blox/DBS_Model_Blox_Adam_Brown.jl +++ b/src/blox/DBS_Model_Blox_Adam_Brown.jl @@ -64,11 +64,11 @@ struct Striatum_MSN_Adam <: CompositeBlox namespace = nothing, N_inhib = 100, E_syn_inhib=-80, - I_bg=1.19*ones(N_inhib), + I_bg=1.172*ones(N_inhib), freq=zeros(N_inhib), phase=zeros(N_inhib), τ_inhib=13, - σ=4.0, + σ=0.11, density=0.3, weight=0.1, G_M=1.3, @@ -134,12 +134,12 @@ struct Striatum_FSI_Adam <: CompositeBlox namespace = nothing, N_inhib = 50, E_syn_inhib=-80, - I_bg=5.5*ones(N_inhib), + I_bg=6.2*ones(N_inhib), freq=zeros(N_inhib), phase=zeros(N_inhib), τ_inhib=11, τ_inhib_s=6.5, - σ=6.0, + σ=1.2, density=0.58, g_density=0.33, weight=0.6, @@ -217,11 +217,11 @@ struct GPe_Adam <: CompositeBlox namespace = nothing, N_inhib = 80, E_syn_inhib=-80, - I_bg=3*ones(N_inhib), + I_bg=3.4*ones(N_inhib), freq=zeros(N_inhib), phase=zeros(N_inhib), τ_inhib=10, - σ=8.0, + σ=1.7, density=0.0, weight=0.0, connection_matrix=nothing @@ -286,11 +286,11 @@ struct STN_Adam <: CompositeBlox namespace = nothing, N_exci = 40, E_syn_exci=0.0, - I_bg=1.9*ones(N_exci), + I_bg=1.8*ones(N_exci), freq=zeros(N_exci), phase=zeros(N_exci), τ_exci=2, - σ=8.0, + σ=1.7, density=0.0, weight=0.0, connection_matrix=nothing diff --git a/src/blox/neuron_models.jl b/src/blox/neuron_models.jl index dca6d3c5..ff517c8a 100644 --- a/src/blox/neuron_models.jl +++ b/src/blox/neuron_models.jl @@ -175,12 +175,12 @@ struct HHNeuronInhib_MSN_Adam_Blox <: AbstractInhNeuronBlox name, namespace=nothing, E_syn=-80.0, - I_bg=1.19, + I_bg=1.172, freq=0, phase=0, τ=13, Cₘ=1.0, - σ=4.0, + σ=0.11, a=2, b=4, T=37, @@ -263,13 +263,13 @@ struct HHNeuronInhib_FSI_Adam_Blox <: AbstractInhNeuronBlox name, namespace=nothing, E_syn=-80.0, - I_bg=5.5, + I_bg=6.2, freq=0, phase=0, τ=11, τₛ=6.5, Cₘ=1.0, - σ=60.0, + σ=1.2, a=4, b=10, T=37 @@ -355,12 +355,12 @@ struct HHNeuronExci_STN_Adam_Blox <: AbstractExciNeuronBlox name, namespace=nothing, E_syn=0.0, - I_bg=1.9, + I_bg=1.8, freq=0, phase=0, τ=2, Cₘ=1.0, - σ=80.0, + σ=1.7, a=5, b=4 ) @@ -433,12 +433,12 @@ struct HHNeuronInhib_GPe_Adam_Blox <: AbstractInhNeuronBlox name, namespace=nothing, E_syn=-80.0, - I_bg=3.0, + I_bg=3.4, freq=0, phase=0, τ=10, Cₘ=1.0, - σ=80.0, + σ=1.7, a=2, b=4, T=37