Search found 77 matches

by patoorio
Tue Jul 04, 2017 2:15 pm
Forum: NEURON + Python
Topic: nseg not a USEPROPERTY
Replies: 8
Views: 10704

Re: nseg not a USEPROPERTY

Oh, I see.
Thanks for the explanation!!
by patoorio
Tue Jul 04, 2017 1:17 pm
Forum: NEURON + Python
Topic: nseg not a USEPROPERTY
Replies: 8
Views: 10704

Re: nseg not a USEPROPERTY

Great! Thanks Still, when I do autocompletion on a Section's name, 'diam' does not appear as an option: In [2]: soma=h.Section() In [3]: soma. allseg() diam3d() L parentseg() trueparentseg() arc3d() has_membrane() n3d() push() uninsert() cell() hname() name() Ra x3d() children() hoc_internal_name() ...
by patoorio
Mon Jul 03, 2017 1:00 pm
Forum: NEURON + Python
Topic: nseg not a USEPROPERTY
Replies: 8
Views: 10704

Re: nseg not a USEPROPERTY

Hi, I'm getting the same error under a completely different circumstance. Windows+Python3+Neuron7.5 (See below the details), if I'm within iPython and press TAB for autocompletion of h.IClamp, or h.load_file, the kernel dies with that same message. Autocompletion for other things like h.Section(), w...
by patoorio
Sun Apr 23, 2017 5:14 pm
Forum: MSWin
Topic: NRN 7.4 on windows 10
Replies: 24
Views: 17605

Re: NRN 7.4 on windows 10

Hi, I'm running into the same issue. My workaround has been to replace the association of .hoc files to make them be opened with 'nrniv.exe' instead of neuron.exe. I think it works OK that way, though I don't know if some unexpected problem may arise later. I'm wondering if this is related to the fa...
by patoorio
Fri Apr 25, 2014 2:20 pm
Forum: UNIX/Linux
Topic: Error compiling in Ubuntu 14.04
Replies: 13
Views: 8738

Error compiling in Ubuntu 14.04

Hi, I'm compiling Neuron 7.3 under the new Ubuntu 14.04 and get this error: In file included from ./ACG.h:21:0, from ACG.cpp:24: ./RNG.h:48:5: error: '_G_uint32_t' does not name a type _G_uint32_t u; ^ ./RNG.h:53:5: error: '_G_uint32_t' does not name a type _G_uint32_t u[2]; ^ And the errors continu...
by patoorio
Sat Mar 01, 2014 1:28 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: setting seed in a Distributed Mechanism
Replies: 1
Views: 1162

setting seed in a Distributed Mechanism

Hi, I'm using a distributed mechanism with the scop_rand() function for the simulation of stochastic ion channels. I want to set the seed, otherwise I'm getting the same results every time I run the simulation from the beggining. I have seen the use of set_seed() in the context of Point Processes an...
by patoorio
Fri Jan 31, 2014 2:35 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: at_time(event) keeps being true when t>event?
Replies: 3
Views: 2189

Re: at_time(event) keeps being true when t>event?

Thanks a lot for your answer Why not just use an ExpSyn and drive it with a single event delivered by a NetCon Yes, that's more or less what I will do but with some modification because I want the conductance to raise exponentially, stay there for a variable period of time, and then decrease exponen...
by patoorio
Thu Jan 30, 2014 1:32 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: at_time(event) keeps being true when t>event?
Replies: 3
Views: 2189

at_time(event) keeps being true when t>event?

Hi, I want to code a mechanism with a conductance that raises and then decreases exponentially. As it's a simple exponential, I don't want to use differential equations but rather an exponential function changing the initial and steady state value. However, the initial value has to be the actual g v...
by patoorio
Fri Jan 17, 2014 5:39 pm
Forum: MSWin
Topic: cannot export postscript
Replies: 8
Views: 6952

Re: cannot export postscript

Thanks a lot!!
That did it.
by patoorio
Tue Jan 14, 2014 9:41 pm
Forum: MSWin
Topic: cannot export postscript
Replies: 8
Views: 6952

Re: cannot export postscript

Hi Ted Yes, I think I'm doing it the right way, sorry for not giving more details about what I was doing. Actually I was trying the first option, Print/Postscript , after selecting a window and seeing it appear in the page layout and adjusting its size and position. BTW I could successfully do the e...
by patoorio
Tue Jan 14, 2014 1:24 pm
Forum: MSWin
Topic: cannot export postscript
Replies: 8
Views: 6952

cannot export postscript

Hi, Postscript export is giving me an empty file, and I get the messagse oc>system("command")"sed" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable. which roughly translates as system("command")"sed" not recognized as a command, blah blah blah... My version i...
by patoorio
Wed Sep 04, 2013 8:39 am
Forum: MSWin
Topic: Neuron as Python module in Win (again)
Replies: 37
Views: 23282

Re: Neuron as Python module in Win (again)

the export command is a UNIX command not working on WIN Exactly!! As I told you, you have to open a bash command window (A *NIX-like environment that gets installed with neuron, part of MinGW), issue the export commands and run pyhton (or spyder!) from there; then you will be able to import neuron....
by patoorio
Tue Sep 03, 2013 8:22 pm
Forum: MSWin
Topic: Neuron as Python module in Win (again)
Replies: 37
Views: 23282

Re: Neuron as Python module in Win (again)

For environment variable in WIN environment variable editor I used NEURONHOME C:\nrn73w64 PYTHONPATH C:\nrn73w64\lib\python You don't have to do it in the Windows environment variables, instead (or in addition to??) you have to do export NEURONHOME /c/nrn73w64 export PYTHONPATH /c/nrn73w64/lib/pyth...
by patoorio
Fri Aug 09, 2013 10:07 am
Forum: MSWin
Topic: Neuron as Python module in Win (again)
Replies: 37
Views: 23282

Re: Neuron as Python module in Win (again)

Thanks!
by patoorio
Sat Aug 03, 2013 10:45 pm
Forum: MSWin
Topic: Neuron as Python module in Win (again)
Replies: 37
Views: 23282

Re: Neuron as Python module in Win (again)

Hi, The as_numpy() function is giving an error: >>> from neuron import h Unable to load 'mpich2nemesis.dll', error 126 NEURON -- Release 7.3 (901:c736db45853d) 2013-06-29 Duke, Yale, and the BlueBrain Project -- Copyright 1984-2013 See http://www.neuron.yale.edu/neuron/credits >>> vec=h.Vector(10) >...