using custom ion channels in neuron-python

Post Reply
lb5999
Posts: 56
Joined: Mon Oct 11, 2010 9:12 am

using custom ion channels in neuron-python

Post by lb5999 » Fri Apr 22, 2016 11:10 am

Hi NEURON Forum,

I am new (<12hrs) to using the python interface for NEURON. Looking forward to getting stuck in, but at the moment struggling to find info online with how to mknrndll my own .mod files in the python window.

Any tips on how to do this would be really appreciated!

I am using:
Anaconda 2 (Python)
NEURON 7.4 x86_64
Windows 8.1 Enterprise

ted
Site Admin
Posts: 5727
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: using custom ion channels in neuron-python

Post by ted » Fri Apr 22, 2016 10:54 pm

lb5999 wrote:struggling to find info online with how to mknrndll my own .mod files in the python window.
I'm not sure how that would be useful. You can't take advantage of the newly compiled mechanisms without first exiting NEURON, and if you're using NEURON as an extension to Python, that means you have to exit Python as well. Under MSWin either launch mknrndll by double clicking on it in the NEURON program group, or start a bash shell and then cd to the directory where your hoc, ses, and mod files are located. Once there, execute the command
mknrndll

Post Reply