Search found 11 matches

by einsinghaf
Wed Aug 27, 2014 4:55 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Pink Noise
Replies: 1
Views: 2351

Pink Noise

Hi there
Thank you everybody, especially Ted for your previous helps.
I need to add a pink noise to synapse how should I start to do that?
Thank you in advance.
by einsinghaf
Fri Aug 15, 2014 10:20 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Adding white nose to current injection
Replies: 10
Views: 14344

Re: Adding white nose to current injection

The problem was from

Code: Select all

on = 0
net_send(del, 1)
I just change it to

Code: Select all

on = 1
and every thing gets fine!
but I can not understand why?!
by einsinghaf
Fri Aug 15, 2014 5:31 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Adding white nose to current injection
Replies: 10
Views: 14344

Re: Adding white nose to current injection

Hi there I have attempt to add a noisy conductance based synapse to my cell. this the nmodl code NEURON { POINT_PROCESS Alpha2SynNoise RANGE tau1, tau2, e, i, mean, stddev, del, dur NONSPECIFIC_CURRENT i RANGE g } UNITS { (nA) = (nanoamp) (mV) = (millivolt) (uS) = (microsiemens) } PARAMETER { tau1=....
by einsinghaf
Fri Aug 01, 2014 5:46 pm
Forum: Getting started
Topic: Numbers that printed in terminal
Replies: 1
Views: 1936

Numbers that printed in terminal

my code is // frq=40 strdef back_dir,tmp_str,seprt back_dir = "./../" seprt ="/" print "*******filegen0" objref fnamegen1 strdef fname1 fnamegen1 = new File() sprint(fname1,"%s%d%slengh-nseg.txt", back_dir, frq, seprt) load_file(fname1) fnamegen1.wopen(fname1)...
by einsinghaf
Mon Jun 30, 2014 4:12 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: equivalent resistance through terminals to soma
Replies: 2
Views: 2241

Re: equivalent resistance through terminals to soma

Finally I write this stupid code:( objref tree tree = new SectionList() soma tree.wholetree() objref terminals, thisone terminals = new SectionList() forsec tree { thisone = new SectionRef() if (thisone.nchild == 0) terminals.append() } objref thisone // destroy link between thisone and the last ref...
by einsinghaf
Sun Jun 29, 2014 8:11 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: equivalent resistance through terminals to soma
Replies: 2
Views: 2241

equivalent resistance through terminals to soma

Hi there Is there any build in function in NEURON that can measure the equivalent resistance through terminals to soma? else where is it possible to know the whole path through dendtites? what is the problem with my code? soma a=ri(0.5) print a soma scrf = new SectionRef() if (scrf.nchild != 0) soma...
by einsinghaf
Wed Jun 25, 2014 5:29 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: add/omit a synapse for different iterations
Replies: 3
Views: 4117

add/omit a synapse for different iterations

Hi Experts
I have a neuron with lots of sections and segments.
I would like to add a synapse with variable conductance to each segment and save some data,
and then remove the synapse and do this again for the next segment.
Would you please give me some clue about how can I do this?
by einsinghaf
Wed Jun 18, 2014 2:46 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: ELECTRODE_CURRENT does not work in my clamp
Replies: 6
Views: 3073

Re: ELECTRODE_CURRENT does not work in my clamp

Thank you indeed, Ted!
I have just changed the basements of my opinion!
by einsinghaf
Wed Jun 18, 2014 11:33 am
Forum: Adding new mechanisms and functions to NEURON
Topic: ELECTRODE_CURRENT does not work in my clamp
Replies: 6
Views: 3073

Re: ELECTRODE_CURRENT does not work in my clamp

So why invent some new mechanism? Why can't you just add an IClamp, a mechanism that is built in and thoroughly debugged? I have to add an electrode with specified function and beyond that I have tested IClamp, but I can not define the amp parameter in parameters files like what he did! define_para...
by einsinghaf
Wed Jun 18, 2014 9:59 am
Forum: Adding new mechanisms and functions to NEURON
Topic: ELECTRODE_CURRENT does not work in my clamp
Replies: 6
Views: 3073

Re: ELECTRODE_CURRENT does not work in my clamp

It is not my code! I want to add an electrode to the Carl Gold 2007 code. http://senselab.med.yale.edu/modeldb/showmodel.asp?model=84589 1-copy my model in mod folder NEURON { POINT_PROCESS MyClamp RANGE amp, i ELECTRODE_CURRENT i } UNITS { (nA) = (nanoamp) } PARAMETER { amp=10 (nA) } ASSIGNED { i (...
by einsinghaf
Tue Jun 17, 2014 5:40 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: ELECTRODE_CURRENT does not work in my clamp
Replies: 6
Views: 3073

ELECTRODE_CURRENT does not work in my clamp

I have mod file like this: NEURON { POINT_PROCESS MyClamp RANGE del, dur, amp, curr ELECTRODE_CURRENT curr } UNITS { (nA) = (nanoamp) } PARAMETER { del=0 (ms) dur=25 (ms) amp=22 (nA) } ASSIGNED { curr (nA) } BREAKPOINT { curr=11 } and a procedure like this proc inject_curret(){ stim = new MyClamp(.5...