Skip to content

Commit

Permalink
Updated equation in cadIF model
Browse files Browse the repository at this point in the history
  • Loading branch information
mpgl committed Jan 29, 2024
1 parent 55c48e1 commit 3a82257
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dendrify/equations.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
'I_ext{0} :amp'),

# Condactance-based integrate and fire with adaptation:
'cadIF': ('dV{0}/dt = (gL{0}*(EL{0}-V{0}) + w{0} + I{0}) / C{0} :volt \n'
'w{0} = gA * (EA-V{0}) :amp \n'
'cadIF': ('dV{0}/dt = (gL{0}*(EL{0}-V{0}) + I{0} - w{0}) / C{0} :volt \n'
'w{0} = gA * (V{0}-EA) :amp \n'
'dgA/dt = (gAmax * (abs(V{0}-VA)) / mV - gA) / tauA :siemens \n'
'I{0} = I_ext{0} :amp \n'
'I_ext{0} :amp'),
Expand Down

0 comments on commit 3a82257

Please sign in to comment.