-
Notifications
You must be signed in to change notification settings - Fork 10
Decluttering python.rst
#36
base: master
Are you sure you want to change the base?
Conversation
This file is linked to as a "basic programming" page and should supposedly show basic how to's with the Python interface. It has several problems: * It is not written in an introductory style, but rather in a complete reference guide style with very detailed explanations of various non introductory topics. * I have removed all installation as `pip install NEURON` supercedes them all for any introduction. * I am planning to still remove basically everything on this page and instead write an introduction with examples of how to use NEURON Python interface, starting from creating a few sections, inserting some mechanisms, connecting them together up to loading a morphology with Import3D and instantiating it. The basic necessities for creating a neuron model.
Almost all of this page was ancient, so I think deleting most of it and starting over is a good plan. However:
|
Good point, the tutorial should do! And the build process described here doesn't work on Windows either I assume ;p Either way for an introduction I'd skip it and say So, let's change the link to the tutorial and delete this document? I'll keep the commits on this Draft PR for a rework of these Python docs. They're built by Sphinx correct? How come there doesn't seem to be any Why aren't all the NEURON docs unified into a single doc project? Too many questions, sorry ;D |
There's very little autodoc because there isn't really docstrings because NEURON has a dynamically created interface through the cPython API not pure Python code. |
A perhaps useless historical note. Circa 1994, some docstring like syntax was added to some of the c++ and hoc code along with a help system (The latter also available from NEURONMainMenu/Help where the cursor would change to a question mark and pressing a button or menu item would pop up a document window) . This all languished eventually into nothingness. But the doc strings for that old code remains. e.g in share/lib/hoc/showmech.hoc
|
This file is linked to as a "basic programming" page and should supposedly show basic how to's with the Python interface. It has several problems:
pip install NEURON
supercedes them all for any introduction.