Search found 4 matches

by vdhelm
Wed Jan 07, 2015 11:38 am
Forum: Optimization
Topic: Error saving a XYFitness
Replies: 1
Views: 6620

Error saving a XYFitness

Hello, i have a MRF with several generators. Most of them are RegionFitness but some are XYFitness to detect wether there is an AP in the simulation. The simulation is running perfectly, but i cant save the XYFitness generators to a session file. Well, saving works, but when i load the session i get...
by vdhelm
Wed Jun 13, 2007 7:18 am
Forum: Getting started
Topic: pass a section as an argument
Replies: 1
Views: 2012

Ah! Just dicovered SectionRef().
So I think I can manage it now. ;)
by vdhelm
Tue Jun 12, 2007 10:44 am
Forum: Getting started
Topic: pass a section as an argument
Replies: 1
Views: 2012

pass a section as an argument

Another syntax question: Can I pass a section as an argument to a procedure? I have written a procedure to link two cells by gap junctions, but it seems, that sections are not treated as objects. objref gapj[2] proc insertgapj() { //args: 1.segment, 1.pos, 2.segment, 2.pos $o1 gapj[0] = new gGap($2)...
by vdhelm
Fri Jun 01, 2007 5:59 am
Forum: Getting started
Topic: print ri()
Replies: 1
Views: 2478

print ri()

Hi!

I read the topics about plotting an axial current.
Now I want to plot an expression like dend[0].ri(0.1) but it always gives me a syntax error.

So my question is: why cant I print this expression

Code: Select all

print dend[0].ri(0.1)
but this one is no problem:

Code: Select all

dend[0] print ri(0.1)
Thanks
Martin