Search found 54 matches

by oren
Sat Mar 24, 2018 4:41 am
Forum: UNIX/Linux
Topic: nrnivmodl compiling in Linux
Replies: 8
Views: 11086

Re: nrnivmodl compiling in Linux

Hi usually when I get this problem in a new computer (ubuntu) I do the following:

Code: Select all

sudo apt-get install libncurses-dev
by oren
Thu Jul 27, 2017 8:14 am
Forum: Anatomically detailed models
Topic: distance() documentation
Replies: 5
Views: 11994

Re: distance() documentation

I also got confused, I think the documentation should be changed to the way Brad suggested.

Thanks.
by oren
Tue May 16, 2017 8:07 am
Forum: Adding new mechanisms and functions to NEURON
Topic: pass an array from hoc to a mod file
Replies: 1
Views: 5593

pass an array from hoc to a mod file

Hello,
I am trying to pass a vector (with values) to a mod file. Is it possible? do you an example of doing it? I do not know exactly how to write the mod file so it will accept a hoc Vector.

Thanks.
by oren
Thu Nov 26, 2015 1:22 pm
Forum: Modeling networks
Topic: Add self event to queue
Replies: 1
Views: 5305

Add self event to queue

Hello, I was wondering if it is possible to add a self-event to an ARTIFICIAL_CELL to the queue. I know it is possible to add an event to a point processor with CVode.event() but I was wondering if it is possible to add a self-event, an event that will reach the NET_RECEIVE of the ARTIFICIAL_CELL (I...
by oren
Thu Sep 24, 2015 5:41 am
Forum: Getting started
Topic: Change NetCon Source
Replies: 1
Views: 5019

Change NetCon Source

Hello, If I created a NetCone using this code: objref nc nc = New NetCon( nil, postCell) can I (after already creating the nc) change the source from nil to something else, I know that there is a command nc.setpost(?) - that change the target of the NetCon, but I did not find a command that change t...
by oren
Tue Sep 01, 2015 7:42 am
Forum: NEURON Announcements
Topic: The NEURON Book
Replies: 3
Views: 20280

Re: The NEURON Book

Hi,
Is there an ETA for a new edition?

Thanks.
by oren
Sun Jul 12, 2015 4:16 pm
Forum: NEURON + Python
Topic: uninsert python
Replies: 6
Views: 10872

Re: uninsert python

Thank you for the reply,

Oren.
by oren
Sun Jul 05, 2015 9:40 am
Forum: NEURON + Python
Topic: uninsert python
Replies: 6
Views: 10872

uninsert python

Hello, I am trying to use uninsert in python. as I read form the documentation using insert is as follows sec.insert("hh") so I assumed that uninsert will work like this: sec.uninsert("hh") but I get the follwoing error code: In [11]: sec.uninsert("hh") ----------------------------------------------...
by oren
Wed Jun 10, 2015 3:31 pm
Forum: UNIX/Linux
Topic: IV config issue (ARM processor)
Replies: 2
Views: 6207

Re: IV config issue (ARM processor)

Look here.
http://www.neuron.yale.edu/phpbb/viewto ... f=6&t=2291

Maybe you can find some help there.
by oren
Tue Apr 28, 2015 4:49 am
Forum: Other questions
Topic: Question about edge of cylinder and axial resistance
Replies: 5
Views: 2384

Question about edge of cylinder and axial resistance

Hello, I am trying to understand how Neuron is building the section and I am not sure I understand correctly. Especially I have problem understanding the edges of the cylinders. Questions: 1. there is no membrane resistance in the edges of the cylinders? If I want to calculate the total membrane res...
by oren
Thu Dec 25, 2014 5:39 am
Forum: NEURON + Python
Topic: record from one cell of a matrix to a vector
Replies: 4
Views: 1804

Re: record from one cell of a matrix to a vector

So there is not secret syntax to get the reference of a index in a matrix.. :-)

Thank you,
Oren.
by oren
Wed Dec 24, 2014 8:45 am
Forum: NEURON + Python
Topic: record from one cell of a matrix to a vector
Replies: 4
Views: 1804

Re: record from one cell of a matrix to a vector

Hello Ted, Thank You for the respond. Sorry for the confusion, I meant a single index in a hoc language matrix. I want to record the values in a specific index in a matrix, as you can see here: http://www.neuron.yale.edu/neuron/static/docs/help/neuron/neuron/classes/linmod.html ... nlm = h.LinearMec...
by oren
Mon Dec 22, 2014 9:38 am
Forum: NEURON + Python
Topic: record from one cell of a matrix to a vector
Replies: 4
Views: 1804

record from one cell of a matrix to a vector

Hello,
how do I record a single cell of a matrix with python?

I know that if I want to record a Vector I can use the following code:

Code: Select all

Vvec = h.Vector()
Vvec.record(y0._ref_x[0])
But how do I record from a Matrix, as this does not work

Code: Select all

Vvec = h.Vector()
Vvec.record(c._ref_x[0][0])