-
Hi everyone, I was wondering if there's a way to access the current across pyramidal cell compartments? We are making changes to GABAb receptor that doesn't show up in the model and we wanted to access individual cells to check:
Appreciate your help! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
In the development version, I believe you can do that using |
Beta Was this translation helpful? Give feedback.
-
Hi @ntolley I tried the code below with @jasmainak and it didn't work import hnn_core
from hnn_core import jones_2009_model, simulate_dipole
net = jones_2009_model(add_drives_from_params= True)
simulate_dipole(net, tstop = 100, record_vsec= 'all')
vsec = net.cell_response.vsec
print(vsec[0][0].keys()) There's no recording from outside the soma |
Beta Was this translation helpful? Give feedback.
-
@ntolley and @jasmainak import hnn_core
from hnn_core import jones_2009_model, simulate_dipole
net = jones_2009_model(add_drives_from_params= True)
simulate_dipole(net, tstop = 100, record_vsec= 'all')
isec = net.cell_response.isec[0][36]['soma_gabab']
print(isec[0][36].keys()) KeyError: 'soma_gabab' The tutorial mentioned that's how to get it: Thoughts? |
Beta Was this translation helpful? Give feedback.
-
@ntolley Could the tutorial be updated to use |
Beta Was this translation helpful? Give feedback.
In the development version, I believe you can do that using
record_isec
: https://jonescompneurolab.github.io/hnn-core/dev/generated/hnn_core.simulate_dipole.html#hnn_core.simulate_dipole and then access it usingcell_response.isec