Skip to content

GABAb tau doesn't update after changing values #625

Answered by ntolley
wagdy88 asked this question in Q&A
Discussion options

You must be logged in to vote

@wagdy88 I'm a bit confused do you mind clarifying? myarray1= np.array(isec['soma']['soma_gabab']) stores the somatic current recorded during the simulation under the variable myarray1.

If you want to update the properties of the GABAb receptors you can do it like this:

from hnn_core import  jones_2009_model, simulate_dipole
from hnn_core.viz import plot_dipole

net_original = jones_2009_model(add_drives_from_params=True)
net_new = net_original.copy()

# Here is how you update receptor properties
net_new.cell_types['L5_pyramidal'].synapses['gabab']['tau2'] = 60.0

dpl_original = simulate_dipole(net_original, tstop=170, dt=0.5)
dpl_new = simulate_dipole(net_new, tstop=170, dt=0.5)

plot_d…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by wagdy88
Comment options

You must be logged in to vote
1 reply
@wagdy88
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #615 on March 20, 2023 20:50.