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

Use more specific base classes #10

Open
mstimberg opened this issue Jul 29, 2016 · 0 comments
Open

Use more specific base classes #10

mstimberg opened this issue Jul 29, 2016 · 0 comments

Comments

@mstimberg
Copy link
Member

As we discussed with Padraig, someone using neuron models exported from Brian2 would have it easier if the generated types do not only inherit from the generic baseCell. Compared to the other issues, this is a rather low priority one, but some of the simple classes should be very easy to support, e.g.:

  • If the cell defines a threshold, have it inherit from baseSpikingCell
  • If it has a threshold and a variable v with dimensionality volt, have it inherit from baseCellMembPot
  • If instead it has a threshold and a dimensionless variable V, have it inherit from baseCellMembPotDL

https://github.com/NeuroML/NeuroML2/blob/master/NeuroML2CoreTypes/Cells.xml

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

No branches or pull requests

1 participant