Skip to content

Use more specific base classes #10

@mstimberg

Description

@mstimberg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions