Skip to content

Commit

Permalink
set initial value for synaptic bound receptors to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
pmendes committed Aug 13, 2024
1 parent 38c4e0f commit 908c64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbmodelr
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ if( odelink ):
# add a new ODE to represent the proportion of bound post-synaptic receptor
brname = f'br_{ode}_{suffa},{suffb}'
brexp = f'( 1 / Values[{thissyntaur}] - 1 / Values[{thissyntaud}] ) * ( 1 - Values[{brname}] ) / ( 1 + exp( Values[{synv0}] - Values[{oaname}] ) ) - Values[{brname}] / Values[{thissyntaud}]'
add_parameter(brname, type='ode', expression=brexp, initial_value=0.5, model=newmodel)
add_parameter(brname, type='ode', expression=brexp, initial_value=0, model=newmodel)
# add a synaptic maximum conductance parameter
syngc = f'g_c_{ode}_{suffa},{suffb}_synapse'
if( args.cnoise ):
Expand Down

0 comments on commit 908c64c

Please sign in to comment.