Search found 9 matches

by vjs347
Mon Dec 21, 2015 12:37 pm
Forum: Other questions
Topic: Identifying 'peaks' in a recorded vector
Replies: 1
Views: 982

Identifying 'peaks' in a recorded vector

Hello Ted, I am simulating a nerve fiber with train of impulses and recording the membrane potential along the nodes (in this case 100 nodes). The simulation runs for a long duration of 30-60 seconds. The amount of data recorded is very big. But for my analysis the only interest is in the time indic...
by vjs347
Wed Nov 18, 2015 11:28 am
Forum: Other questions
Topic: Precomputed waveform for extracellular stimulus
Replies: 10
Views: 3060

Re: Precomputed waveform for extracellular stimulus

Whenever I try to change the value of amplitude/duration from the GUI generated from vstim.hoc, the stim_amp and stim_time keeps getting populated with junk values The stim_time Vector needs to be completely rebuilt every time proc stim_waveform() is called. In stim_waveform() change stim_time.appe...
by vjs347
Mon Nov 16, 2015 5:29 pm
Forum: Other questions
Topic: Precomputed waveform for extracellular stimulus
Replies: 10
Views: 3060

Re: Precomputed waveform for extracellular stimulus

Hey Ted, I seem to have found a bug in the vstim.hoc code you sent me. Whenever I try to change the value of amplitude/duration from the GUI generated from vstim.hoc, the stim_amp and stim_time keeps getting populated with junk values. i.e. zero stimulus values in stim_amp, and time indexes in stim_...
by vjs347
Mon Nov 16, 2015 4:55 pm
Forum: Other questions
Topic: Precomputed waveform for extracellular stimulus
Replies: 10
Views: 3060

Re: Precomputed waveform for extracellular stimulus

Terrific! When it comes time to publish your work, please be sure to cite NEURON. One of these two will do nicely: Carnevale, N.T. and Hines, M.L. The NEURON Book. Cambridge, UK: Cambridge University Press, 2006. Hines, M.L. and Carnevale, N.T. The NEURON simulation environment. Neural Computation ...
by vjs347
Wed Nov 11, 2015 11:02 am
Forum: Other questions
Topic: Precomputed waveform for extracellular stimulus
Replies: 10
Views: 3060

Re: Precomputed waveform for extracellular stimulus

Then the easiest way to proceed is to use the same approach that is used by the files in extracellular_stim_and_rec.zip. Everything related to constructing the stimulus waveform is contained in the file stim.hoc, which is loaded by the statement load_file("stim.hoc") in initxstim.hoc. You need to c...
by vjs347
Tue Nov 10, 2015 12:51 am
Forum: Other questions
Topic: Precomputed waveform for extracellular stimulus
Replies: 10
Views: 3060

Re: Precomputed waveform for extracellular stimulus

I can't seem to figure out how to declare the electrode location in the point process. Could you throw some light on this? It would be very helpful. As far as I know, the extracellular library computes the transfer resistance between the location of stimulus in extracellular medium to all the nodes...
by vjs347
Mon Nov 09, 2015 12:49 pm
Forum: Other questions
Topic: Precomputed waveform for extracellular stimulus
Replies: 10
Views: 3060

Precomputed waveform for extracellular stimulus

Hello Ted, I'm using the model files posted by you at http://www.neuron.yale.edu/ftp/ted/neuron/extracellular_stim_and_rec.zip for extracellular stimulation of a myelinated axon. The stim.hoc file here allows me to apply a stimulus stored as a vector with another vector encoding time. Now I want to ...
by vjs347
Mon Nov 09, 2015 12:26 pm
Forum: Other questions
Topic: Can IClamp be used in a for loop? Or can it be a vector?
Replies: 11
Views: 6084

Re: Can IClamp be used in a for loop? Or can it be a vector?

Thanks a lot Ted. It took me a while to figure out. But I finally got what I wanted. Sorry for the late response.
by vjs347
Fri Oct 30, 2015 5:23 pm
Forum: Other questions
Topic: Can IClamp be used in a for loop? Or can it be a vector?
Replies: 11
Views: 6084

Re: Can IClamp be used in a for loop? Or can it be a vector?

Hey Ted, I'm very new to Neuron Simulation. I'm trying to incorporate this snippet you posted in my code to stimulate a axonal node with IClamp inputs from a vector. ///// ensure that stim can deliver as many pulses as necessary, for as long as necessary stim.del = 0 stim.dur = 1e9 stim.amp = 0 AMP ...