Search found 7 matches

by MarkoF
Tue Dec 04, 2018 7:07 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Using VecStim() with CVode on
Replies: 3
Views: 2796

Re: Using VecStim() with CVode on

Oh, but that's perfect then! I can activate CVode and get faster simulations without loss in integration precision. Thank you very much for your answer!
by MarkoF
Tue Dec 04, 2018 6:20 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Using VecStim() with CVode on
Replies: 3
Views: 2796

Using VecStim() with CVode on

Hello, I have a model with multiple excitatory and inhibitory synapses that I feed previously constructed spike trains via VecStim() mechanism. Now in order to speed up the simulation I am thinking of using the variable time step by activating CVode. What I am concerned about is, how are the incomin...
by MarkoF
Wed Aug 22, 2018 10:47 am
Forum: NEURON + Python
Topic: Not able to run simulation more than once from a NEURON+Python script
Replies: 4
Views: 4607

Re: Not able to run simulation more than once from a NEURON+Python script

Just as an update, testing the script from a virtual environment with Python 2.7.13 and NEURON from conda repository, I get the same error. So it probably is not tied to the Python version.

@ramcdougal I will try to adapt the script to work in that way and see what happens, thanks for the suggestion!
by MarkoF
Wed Aug 22, 2018 4:22 am
Forum: NEURON + Python
Topic: Not able to run simulation more than once from a NEURON+Python script
Replies: 4
Views: 4607

Re: Not able to run simulation more than once from a NEURON+Python script

He has the same NEURON version, but his Python is 2.7.13 (compared to my 2.7.15). I will see if it is possible to create a virtual environment with that particular sub-version and compile NEURON with it.
by MarkoF
Tue Aug 21, 2018 11:58 am
Forum: NEURON + Python
Topic: Not able to run simulation more than once from a NEURON+Python script
Replies: 4
Views: 4607

Not able to run simulation more than once from a NEURON+Python script

Hello, I have a problem where trying to run a NEURON simulation from a Python script more than once (e.g. in a loop) would result in a hoc error* after the first successful run. The only way to handle it that I've found is to exit that Python instance, create a new one, and call the script again. Fu...
by MarkoF
Fri Dec 02, 2016 6:25 pm
Forum: Getting started
Topic: A question about units
Replies: 2
Views: 6483

Re: A question about units

Thank you for your answer, and for the reading list! Some of these things I've already consulted, some are new to me and very interesting. Most parameter changes can be accomplished by a simple numerical assignment statement in hoc or Python. That's what I'm hoping for. I just want to make sure that...
by MarkoF
Thu Dec 01, 2016 3:52 pm
Forum: Getting started
Topic: A question about units
Replies: 2
Views: 6483

A question about units

Hello all, I am interested in a model of striatal medium spiny neuron proposed in the paper by Gruber et al. 2003 . I have found a NEURON implementation on ModelDB , but going through the files I've encountered a problem with how units of ion channel variables are implemented in the simulation. Sinc...