Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduces Initial values block (cf. #368 for the discussion) #382

Merged
merged 17 commits into from
Oct 4, 2017

Conversation

DimitriPlotnikov
Copy link
Contributor

@DimitriPlotnikov DimitriPlotnikov commented Oct 4, 2017

ODEs are now modelled through the equations block and initial_values block. Shapes can be stated as an ODE (or a system of) or a functions of t.

The example syntax for 2 alpha shapes is now:

 initial_values:
    g_in nS = 0nS
    g_in' nS/ms = nS * e / tau_syn_in
    g_ex nS = 0nS
    g_ex' nS/ms = nS * e / tau_syn_ex
  end

  equations:
    shape g_in'' = (-1)/(tau_syn_in)**(2)*g_in+(-2)/tau_syn_in*g_in'
    shape g_ex'' = (-1)/(tau_syn_ex)**(2)*g_ex+(-2)/tau_syn_ex*g_ex'
  end

@DimitriPlotnikov DimitriPlotnikov merged commit e452b92 into nest:master Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant