Search found 55 matches

by oren
Mon Jul 01, 2013 4:31 am
Forum: Getting started
Topic: pause function
Replies: 3
Views: 4998

Re:

No, but you can fake it with startsw(). proc pause() { local t0 t0 = startsw() while (startsw()-t0 < $1) { } } Normally in Matlab I use the pause option, so that I can plot with delay multiplay graphs on the same plot. and see them add to the graph one by one in 0.5 s interval( Each 0.5s new one ad...
by oren
Thu Jun 27, 2013 12:48 pm
Forum: The GUI
Topic: VClamp SEClamp delay
Replies: 3
Views: 12642

Re: VClamp delay

I am sorry, I did not understood, I need the SEClamp to be with delay, Not to start at t=0
is it possible?

In the program refference I get " Clamp is on at time 0, and off at time dur1+dur2+dur3" I want the clamp to stat on time=10ms not on time= 0
by oren
Thu Jun 27, 2013 10:08 am
Forum: Getting started
Topic: Problems executing SEClamp
Replies: 1
Views: 2106

Problems executing SEClamp

Hello, I am trying to run the example of SEClamp in http://www.neuron.yale.edu/neuron/static/new_doc/modelspec/programmatic/mechanisms/mech.html?highlight=seclamp#SEClamp // setup for three simulations create s1, s2, s3 // will be stimulated by IClamp, SEClamp, and VClamp forall {insert hh diam=3 L=...
by oren
Thu Jun 27, 2013 8:49 am
Forum: The GUI
Topic: VClamp SEClamp delay
Replies: 3
Views: 12642

VClamp SEClamp delay

Is there a way to use VClamp with a delay? I need the voltage clamp to start in a certain time point, and then to stop.
Is it possible in the gui?

Thank You

Code: Select all

edit: I added "SEClamp" to the title for better search result 
by oren
Wed May 29, 2013 7:17 am
Forum: Getting started
Topic: return double array
Replies: 1
Views: 1955

return double array

Hello,
I can not mange to return a double array.
My code is :

Code: Select all

double CC[2]
double cc1[2]
    func go(){
    CC[0]=1
    CC[1]=2
    return(CC)
}

cc1 = go()
print cc1[0]
print cc1[1]
But all I get is that cc1[0] = 1 and cc1[1]=0

How can I pass all of the array with the return?

Thank You.
by oren
Sun May 26, 2013 12:06 pm
Forum: Other questions
Topic: pause/freeze plot
Replies: 4
Views: 2306

Re: pause/freeze plot

Thank You.
by oren
Sun May 26, 2013 8:09 am
Forum: Other questions
Topic: pause/freeze plot
Replies: 4
Views: 2306

Re: pause/freeze plot

I am sorry I did not explained myself correctly. I want to measure voltage in point x1 while injecting current in x2 and then measure voltage in x1 while injecting current in x3.. The end result that I would like is two different graphs: In the first the voltage in point x1 as a respond to current i...
by oren
Wed May 22, 2013 5:16 pm
Forum: Other questions
Topic: pause/freeze plot
Replies: 4
Views: 2306

pause/freeze plot

Hello, I have a simple question that I did not found a answer to, How can I keep the current plot, so when running a new point process it will not be updated? Example I have a plot of voltages from a IClamp at location X and I want to run a new IClamp at a different location, Is it possible to open ...
by oren
Mon Apr 08, 2013 9:25 am
Forum: Anatomically detailed models
Topic: Vaa3d swc files
Replies: 3
Views: 10231

Re: Vaa3d swc files

Thank You. I've build matlab script's that split all the -1 roots apart and build them in the correct swc specification. If anyone ever need help I can send them to him. Plus there is a plugin in the Vaa3d software that is called sort_neuron.. It suppose to convert the swc file to the right specific...
by oren
Sat Apr 06, 2013 4:11 pm
Forum: Anatomically detailed models
Topic: Vaa3d swc files
Replies: 3
Views: 10231

Vaa3d swc files

As anyone ever had an experience with swc files created from the Vaa3d software? I have some swc files created from that software but I can not read them with Neuron Import3D. I also have not found any converter. The only software that I found that is able to read this files is NeuroMantic. ( But it...