A pythonic API for NEURON
Posted: Tue Oct 28, 2014 1:44 pm
I have been working with Python + NEURON lately and found myself frustrated with the API on several occasions. Some of the problems are related to the original translation from HOC to Python, some are historical API issues inherited from early versions of the Python interface, and some appear to be fundamental design issues.
As an experiment I have begun work on a pure-python wrapper that I think provides a more modern and pythonic API for NEURON. I am focusing mainly on circumventing issues that lead to difficult-to-diagnose bugs and simplifying the API wherever possible, while also keeping the core elements of the API basically intact.
There are some specific goals for the wrapper listed here: https://github.com/lcampagn/pynrn
For an example, see: https://github.com/lcampagn/pynrn/blob/ ... section.py
My questions for the forum:
1. Has someone else already begun work on something similar?
2. Is there any interest in this group for a project like this?
3. Any reasons why this is a bad idea?
As an experiment I have begun work on a pure-python wrapper that I think provides a more modern and pythonic API for NEURON. I am focusing mainly on circumventing issues that lead to difficult-to-diagnose bugs and simplifying the API wherever possible, while also keeping the core elements of the API basically intact.
There are some specific goals for the wrapper listed here: https://github.com/lcampagn/pynrn
For an example, see: https://github.com/lcampagn/pynrn/blob/ ... section.py
My questions for the forum:
1. Has someone else already begun work on something similar?
2. Is there any interest in this group for a project like this?
3. Any reasons why this is a bad idea?