Search found 9 matches

by leonelmd
Fri Jun 09, 2017 11:11 am
Forum: UNIX/Linux
Topic: Error on Vector.as_numpy()
Replies: 4
Views: 9111

Re: Error on Vector.as_numpy()

Thank you very much, Michael! This solved the problem; I can now use Vector.as_numpy() :)
Saludos
by leonelmd
Fri Jun 09, 2017 9:36 am
Forum: UNIX/Linux
Topic: Error on Vector.as_numpy()
Replies: 4
Views: 9111

Re: Error on Vector.as_numpy()

Thanks a lot for your reply, Michael. After replacing the try-except with the if-else, I get the following: from neuron import h Warning: no DISPLAY environment variable. --No graphics will be displayed. NEURON -- Release 7.4 (1370:16a7055d4a86) 2015-11-09 Duke, Yale, and the BlueBrain Project -- Co...
by leonelmd
Thu Jun 08, 2017 10:37 pm
Forum: UNIX/Linux
Topic: Error on Vector.as_numpy()
Replies: 4
Views: 9111

Error on Vector.as_numpy()

Hi all, I installed Neuron release 7.4 (1370:16a7055d4a86) on my account in a cluster under Red Hat Enterprise Linux Server release 7.3. I followed carefully the steps suggested in https://www.neuron.yale.edu/neuron/download/compile_linux to get Python+Neuron, i.e., I used the --with-nrnpython optio...
by leonelmd
Mon Feb 23, 2015 1:35 pm
Forum: MSWin
Topic: Problem running PFC cell model (modelDB)
Replies: 4
Views: 6321

Re: Problem running PFC cell model (modelDB)

Well, I feel embarrassed to admit that it seems the problem was having 2 NEURON versions in my computer. I uninstalled v7.3 and now it works well in v7.2 after compiling with bash, as suggested.

Thanks a lot.
by leonelmd
Mon Feb 23, 2015 12:02 pm
Forum: MSWin
Topic: Problem running PFC cell model (modelDB)
Replies: 4
Views: 6321

Re: Problem running PFC cell model (modelDB)

Thank you for your quick reply, Ted. I tried both suggestions, using bash and copying mod files, and in both cases after either double clicking or doing nrngui to mosinit.hoc I get this error: NEURON -- Release 7.3 (849:5be3d097b917) 2013-04-11 Duke, Yale, and the BlueBrain Project -- Copyright 1984...
by leonelmd
Mon Feb 23, 2015 9:55 am
Forum: MSWin
Topic: Problem running PFC cell model (modelDB)
Replies: 4
Views: 6321

Problem running PFC cell model (modelDB)

Hi, I was trying to run this model of a Pre-Frontal Cortex cell available in ModelDB: https://senselab.med.yale.edu/ModelDB/ShowModel.cshtml?model=144089&file=%5cPFCcell%5c The auto-lunch works ok, i.e., it opens NEURON, runs the model and plots one the Figures of the paper. However, I have not been...
by leonelmd
Thu Sep 25, 2014 12:23 pm
Forum: Other questions
Topic: replace i_cap/modify equation for i_cap
Replies: 8
Views: 2648

Re: replace i_cap/modify equation for i_cap

Thank you so much for your responses, Michael and Ted. It was really helpful seeing the .hoc template that the LCB generates. In fact, the ODE that I first mentioned can be represented as a series RC, and I used the LCB template to then move to working directly with the LinearMechanism. Though I hav...
by leonelmd
Fri Sep 19, 2014 11:30 am
Forum: Other questions
Topic: replace i_cap/modify equation for i_cap
Replies: 8
Views: 2648

Re: replace i_cap/modify equation for i_cap

Thanks for your reply, Michael. The linear circuit idea makes me very happy indeed :) since I wanted to test other ODE's as well, for which I'd just need to figure out the equivalent circuit. However, I'm not able to save a class from any circuit. I know this sounds silly but I can't find the "Creat...
by leonelmd
Wed Sep 17, 2014 11:14 am
Forum: Other questions
Topic: replace i_cap/modify equation for i_cap
Replies: 8
Views: 2648

replace i_cap/modify equation for i_cap

Hi, I want to implement a special "capacitive" current described by the ODE: i_capn + di_capn/dt = Cdv/dt. I want this current to actually replace the capacitive current. I saw in this thread that a way to obtain dv/dt (which I need for the ODE in my NMODL file) is via the capacitive current: dv/dt=...