Search found 18 matches

by NeuroRhythms
Wed Jan 07, 2015 5:14 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Dynamically modifying gmax outside .mod
Replies: 5
Views: 4711

Re: Dynamically modifying gmax outside .mod

So I am just curious as to how the dopamine mechanism coded for the paper you suggested actually works. The authors scale their L-type Ca++ and Kir currents by a term mu, which is dependent on discrete events modeled in their simulation. They want to simulate the rise in dopamine after substantia ni...
by NeuroRhythms
Fri Sep 21, 2012 10:19 am
Forum: OS X
Topic: NEURON and PYTHON on Mac
Replies: 16
Views: 15297

Re: NEURON and PYTHON on Mac

Sorry, I have not gotten it to work. Here is my setup.py file. hoc_module = Extension( "neuron.hoc", ["inithoc.cpp"], library_dirs=libdirs, = [ epre+libdirs[0],epre+libdirs[1] ], #extra_objects = [], libraries = [ "nrnpython", "nrnoc", "oc", "nr...
by NeuroRhythms
Thu Sep 20, 2012 9:01 pm
Forum: OS X
Topic: NEURON and PYTHON on Mac
Replies: 16
Views: 15297

Re: NEURON and PYTHON on Mac

Ok well I removed the comma and changed it to a + sign. Then I got the error about about the locations not being the same.
by NeuroRhythms
Thu Sep 20, 2012 7:58 pm
Forum: OS X
Topic: NEURON and PYTHON on Mac
Replies: 16
Views: 15297

Re: NEURON and PYTHON on Mac

Ok so I changed the configure statements as is shown in the .sh file. I get to the part where I need to use the setup.py file. I get this error. matt-lewiss-macbook-pro-2:nrnpython Matt$ python setup.py install File "setup.py", line 71 = [ epre+libdirs[0],epre+libdirs[1] ], ^ SyntaxError: ...
by NeuroRhythms
Thu Sep 20, 2012 4:29 pm
Forum: OS X
Topic: NEURON and PYTHON on Mac
Replies: 16
Views: 15297

Re: NEURON and PYTHON on Mac

This is the contents of the newly unpacked folder COPYING config.sub missing INSTALL configure nmodlconf.h.in Makefile.am configure.in nrnconf.h.in Makefile.in depcomp nrnrpm.spec.in README extend_depcomp.sh nrnversion.sh aclocal.m4 hg2nrnversion_h.sh share bin install-sh src build.sh installunix.ht...
by NeuroRhythms
Thu Sep 20, 2012 3:05 pm
Forum: OS X
Topic: NEURON and PYTHON on Mac
Replies: 16
Views: 15297

Re: NEURON and PYTHON on Mac

Sorry, but if you open that tar.gz you are supposed to find a nrn folder?
by NeuroRhythms
Thu Sep 20, 2012 12:11 pm
Forum: OS X
Topic: NEURON and PYTHON on Mac
Replies: 16
Views: 15297

Re: NEURON and PYTHON on Mac

I have a 64 bit machine and I am running a 64 bit python.

For the record I did this.

Code: Select all

import struct
(8*struct.calcsize("P"))
within Python to get that.
by NeuroRhythms
Wed Sep 19, 2012 4:00 pm
Forum: OS X
Topic: NEURON and PYTHON on Mac
Replies: 16
Views: 15297

Re: NEURON and PYTHON on Mac

So I downloaded the old 7.2 binary for Mac placed it in Applications. I set up the env variable and it does not work.
by NeuroRhythms
Wed Sep 19, 2012 3:21 pm
Forum: OS X
Topic: NEURON and PYTHON on Mac
Replies: 16
Views: 15297

Re: NEURON and PYTHON on Mac

I'm using Snow Leopard, Python 2.7, and NEURON 7.2

Should it matter?
by NeuroRhythms
Wed Sep 19, 2012 1:37 pm
Forum: OS X
Topic: NEURON and PYTHON on Mac
Replies: 16
Views: 15297

NEURON and PYTHON on Mac

Forgive me if this all very naive I have been trying to install NEURON and use it as a module in Python following the instructions in the Frontiers paper and the Andrew Davison online notes, here: http://www.davison.webfactional.com/notes/installation-neuron-python/ Whenever I want to configure neur...
by NeuroRhythms
Thu Aug 16, 2012 11:24 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Calcium current through NMDA receptor
Replies: 14
Views: 11981

Re: Calcium current through NMDA receptor

Yes I did indeed read the supplemental material. All that follows the statement that I quoted is the GHK equation. What is peculiar about this model is the what is exactly in the .mod file. I have posted it again here. From the file, CaNMDA.mod: INITIAL { P = (1-exp(-65*-0.0755))/(10*Area*14564*(50e...
by NeuroRhythms
Wed Aug 15, 2012 5:35 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Calcium current through NMDA receptor
Replies: 14
Views: 11981

Re: Calcium current through NMDA receptor

The paper is Grunditz et al. 2008. JNeurosci. 2008 Dec 10;28(50):13457-66. ModelDB: http://senselab.med.yale.edu/ModelDb/showmodel.asp?model=116769 JNeurosci.org: http://www.jneurosci.org/content/28/50/13457 Pubmed.gov: http://www.ncbi.nlm.nih.gov/pubmed/19074019?dopt=Abstract Verbatim from suppleme...
by NeuroRhythms
Wed Aug 15, 2012 10:52 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Calcium current through NMDA receptor
Replies: 14
Views: 11981

Re: Calcium current through NMDA receptor

Oh I see since the P formula does not contain E values, and therefore has units of C/J or 1/V, you can simply multiply it by a conductance value?
by NeuroRhythms
Wed Aug 15, 2012 8:06 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Calcium current through NMDA receptor
Replies: 14
Views: 11981

Re: Calcium current through NMDA receptor

This is how it exists in a published model ASSIGNED { : parameters needed to solve DE ica (mA/cm2) :calcium current, which will be add to the total Ca current together with ica in 'car.mod' v (mV) :spine head membrane potential i (mA/cm2) :balance current to the ica through NMDA g (uS) :conductance ...