Add Diehl and Cook (2015) small model #1548
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello Brian2 team,
Code below is my attempt at making a modest contribution to the Brian2 simulator. In Brian2's Discourse there has been some interest in this model so adding it as an example seems like a good idea. The code is a cleaned up and Python 3-compatible version of Diehl and Cook's original implementation and Bruce Tian's Brian2 implementation.