Search found 97 matches

by eacheon
Sun Sep 24, 2006 10:56 pm
Forum: Getting started
Topic: Keep Lines in Space Plot: Only two lines plotted
Replies: 4
Views: 7229

Is it also fine to do g.addobject(rvp) // rvp is a RangeVarPlot flush_list.append(g) // g is a Graph ? It seems working fine for me. My question is, what would be the time interval these curves got drawn? my "Points plotted/ms" is 40 (default), "Scrn update invl(s)" is 0.05. It i...
by eacheon
Sat Sep 23, 2006 2:02 am
Forum: Getting started
Topic: RangeVarPlot .origin(x) usage?
Replies: 3
Views: 4034

right. I am wondering should I pass in .origin an arc length as x (0<=x<=1, say 0.5), or should I pass in length with unit um (e.g. a distance value, say, 0.5*L).

is it

Code: Select all

dend rvp.origin(0.5) 
or

Code: Select all

 dend rvp.origin(0.5*L)
by eacheon
Fri Sep 22, 2006 6:52 pm
Forum: Getting started
Topic: RangeVarPlot .origin(x) usage?
Replies: 3
Views: 4034

RangeVarPlot .origin(x) usage?

I read in the reference it says, ... .origin(x) DESCRIPTION x position of the currently accessed section that is treated as the origin (location 0) of the space plot. However in the neurondemo "stylized" model, in control.hoc the usage seems to be sg.original(soma.L) So I am confused about...
by eacheon
Fri Jul 21, 2006 9:11 pm
Forum: Getting started
Topic: soma voltage becomes "nan" during simulation
Replies: 2
Views: 3784

Re: soma voltage becomes "nan" during simulation

It was fine the day before. So something changed between then and now. Unless somebody else has access to your machine, you changed it. If you have been keeping track of revisions of your code, it should be fairly easy to go back to the last good version of your program and fix the problem. exactly...
by eacheon
Wed Jul 19, 2006 1:30 pm
Forum: Getting started
Topic: soma voltage becomes "nan" during simulation
Replies: 2
Views: 3784

soma voltage becomes "nan" during simulation

Hello, My vector recording membrane voltage gets "nan" values after some point process (synapses) is triggered. Other than the error that the recorded vector has values "nan" from a certain index on, there's no any other error or warning messages. After nrniv finished its runs: o...
by eacheon
Wed Jul 12, 2006 12:56 am
Forum: NEURON + Python
Topic: possible section syntax
Replies: 10
Views: 12162

This is very nice. I like the way you can do "for seg in section:" As Dr. hines pointed out in the other thread, still the following expression is absent: s[0:1].hh.gnabar = f(0:1) but can be done as: for seg in section: seg.hh.gnabar = f(seg.x) Which is acceptable. But __getslice__ and __...
by eacheon
Wed Jul 12, 2006 12:19 am
Forum: NEURON + Python
Topic: request for comments
Replies: 13
Views: 19978

read another thread and know Segment are already done.
by eacheon
Tue Jul 11, 2006 8:44 pm
Forum: NEURON + Python
Topic: Tip of the day
Replies: 11
Views: 16087

The server (and host key) may have been changed since the last time that you got your local copy of the repository. You might want to archive the copy you presently have, then try setting up a new one. I tried setting up a new one, but I got to be asked for password. I surely exported CVS_RSH, wier...
by eacheon
Tue Jul 11, 2006 7:37 pm
Forum: NEURON + Python
Topic: request for comments
Replies: 13
Views: 19978

Can a python person tell me what syntax could capture s[0<x<1].hh.gnabar = f(x) One possiblity that seems exciting to me is the generalization to parameterized subsets cell[i].distal[all x].hh.gnabar = f(x) I guess I need to learn more python. if cell returns a Section object then it is fine if you...
by eacheon
Tue Jul 11, 2006 6:05 pm
Forum: NEURON + Python
Topic: Tip of the day
Replies: 11
Views: 16087

Ah, seems I have to get NEURON with cvs version. however, is cvs anonymous checkout avaiable now? I got the following error: $ cvs -d :ext:anonymous@www.neuron.yale.edu:/home/cvsroot checkout iv Host key verification failed. cvs [checkout aborted]: end of file from server (consult above messages if ...
by eacheon
Mon Jul 10, 2006 6:58 pm
Forum: NEURON + Python
Topic: Tip of the day
Replies: 11
Views: 16087

where can I get the "hoc" module, excuse me?
by eacheon
Sun Jun 11, 2006 11:30 pm
Forum: Getting started
Topic: Is this simply a warning or I did something wrong?
Replies: 11
Views: 10842

It's hard to be more specific without knowing more about your grand plan (which may be too proprietary for public discussion), but I wonder if it is possible to recast your strategy in a way that doesn't require an iterator at all. Just quoting Ted to point out the problem with answering this quest...
by eacheon
Sun Jun 11, 2006 3:18 pm
Forum: Getting started
Topic: Is this simply a warning or I did something wrong?
Replies: 11
Views: 10842

You can reorganize your iterator so that you can bring the break statement outside of the section access block: ... iterates through all the SectionParts, still allowing a break statement. Although this solution works in your example I am wondering whether it is the right solution. Passing break st...
by eacheon
Sun Jun 11, 2006 2:04 pm
Forum: Getting started
Topic: Is this simply a warning or I did something wrong?
Replies: 11
Views: 10842

Raj makes a good point. It's hard to be more specific without knowing more about your grand plan (which may be too proprietary for public discussion), but I wonder if it is possible to recast your strategy in a way that doesn't require an iterator at all. The idea is simple. I need to iterate throu...
by eacheon
Sun Jun 11, 2006 1:59 am
Forum: Getting started
Topic: Is this simply a warning or I did something wrong?
Replies: 11
Views: 10842

Thanks, the following code replicate the warning message: /* An example trying to replicate the error. */ create soma, dend[1] access soma connect dend[0](0), 1 dend[0] {L=100} //--------------------------------------------------------------------- // SectionPart, representing part of a section. beg...