Search found 7 matches

by viniciuslima
Sat Jan 13, 2018 6:43 am
Forum: Other questions
Topic: Vectors in MOD files
Replies: 2
Views: 1530

Vectors in MOD files

Hello,

I'm working with a .MOD file that implements Izhikevich (2007) model, and i want to store the spiking times, to do so i need to create a vector to store the variable 't', everytime the neuron cross the threshold.
How can i create this kind of variable in a .MOD file?

Thanks.
by viniciuslima
Mon Apr 24, 2017 3:18 pm
Forum: UNIX/Linux
Topic: Problem loadg modules in Neuron Python
Replies: 6
Views: 10612

Re: Problem loadg modules in Neuron Python

Hi Ted,

I'm using KDE neon LTS User Edition 5.8, which is based on Ubuntu 16.04 LTS.
I'm using python2.7, that came installed on the OS by default.
To configure neuron i used the command : ./configure --prefix=`pwd` --with-iv=$HOME/neuron/iv --with-nrnpython=/usr/bin/python2.7.
by viniciuslima
Mon Apr 24, 2017 2:13 pm
Forum: UNIX/Linux
Topic: Problem loadg modules in Neuron Python
Replies: 6
Views: 10612

Re: Problem loadg modules in Neuron Python

Hello McDougal (1) I've installed it from the source, following the instructions given in: https://www.neuron.yale.edu/neuron/download/compile_linux (2) If I run nrniv -nopython, I get no errors nrniv -nopython NEURON -- Release 7.4 (1370:16a7055d4a86) 2015-11-09 Duke, Yale, and the BlueBrain Projec...
by viniciuslima
Fri Apr 21, 2017 10:50 pm
Forum: UNIX/Linux
Topic: Problem loadg modules in Neuron Python
Replies: 6
Views: 10612

Re: Problem loadg modules in Neuron Python

I tried it with no sucess.
That's funny because only neuron as a python module don't load the mechanisms, if i run the .hoc code it works fine.
by viniciuslima
Fri Apr 21, 2017 1:00 pm
Forum: NEURON + Python
Topic: Disable NEURON GUI
Replies: 3
Views: 9781

Re: Disable NEURON GUI

Hi Ted, Yes im referring to the NEURON Main Menu. I'm using the following code: import numpy from matplotlib.pyplot import * from neuron import h from destexheCell import * h.dt = 0.05 npoints = 5000 tstop = npoints * h.dt h.runStopAt = tstop h.steps_per_ms = 1/h.dt h.celsius = 36 h.v_init = -70 cel...
by viniciuslima
Fri Apr 21, 2017 12:47 pm
Forum: UNIX/Linux
Topic: Problem loadg modules in Neuron Python
Replies: 6
Views: 10612

Problem loadg modules in Neuron Python

Hello! After compiling some mechanisms (.mod) and importing neuron on python, i get the following error message: In [1]: from neuron import h NEURON -- Release 7.4 (1370:16a7055d4a86) 2015-11-09 Duke, Yale, and the BlueBrain Project -- Copyright 1984-2015 See http://www.neuron.yale.edu/neuron/credit...
by viniciuslima
Thu Apr 13, 2017 10:52 am
Forum: NEURON + Python
Topic: Disable NEURON GUI
Replies: 3
Views: 9781

Disable NEURON GUI

I'm trying to not call the NEURON GUI in my simulation, but even if i don't import GUI (from neuron import gui) the window shows up.
I tried to run as python code_name.py -nogui and it has no effect either.