In [1]:
%matplotlib inline
import moose
import rdesigneur as rd
In [2]:
rdes = rd.rdesigneur(
cellProto = [['./cells/h10.CNG.swc', 'elec']], # this tells moose that we are using this SWC file for morphology
stimList = [['soma', '1', '.', 'inject', 't*25e-9 *sin(t*100)']],
plotList = [['#', '1', '.', 'Vm', 'Membrane potential'],
['#', '1', 'Ca_conc', 'Ca', 'Ca conc (uM)']],
moogList = [['#', '1', '.', 'Vm', 'Soma potential']]
)
In [3]:
rdes.buildModel()
moose.reinit()
rdes.displayMoogli( 0.0002, 0.1,0 )
In [ ]: