Search found 5 matches
- Fri Feb 17, 2017 2:15 pm
- Forum: Other questions
- Topic: Step Functions in NEURON
- Replies: 9
- Views: 7684
Re: Step Functions in NEURON
Thank you for that explanation. It makes more sense now. The statements I wrote would be in a loop that goes like this: forall { for ii = 0, nseg { xr = range.x[ii] xrf= range.x[ii+1] YY_xtra(xr:xrf)=yint.x[ii]+YShift:yint.x[ii+1]+YShift } } If we assume that the currently accessed section is a dend...
- Wed Feb 15, 2017 3:02 pm
- Forum: Other questions
- Topic: Step Functions in NEURON
- Replies: 9
- Views: 7684
Re: Step Functions in NEURON
RB.hoc Default section is not the root section (default section is dend[0], root is dend[1]). Each section's nseg is 100 (should be an odd number). Why is dend[0] 8e4 um long but dend[1] is 1 um shorter? I have no idea why these are the way they are but I have changed them since. xtra.mod This is a...
- Mon Feb 13, 2017 1:46 pm
- Forum: Other questions
- Topic: Step Functions in NEURON
- Replies: 9
- Views: 7684
Re: Step Functions in NEURON
I wrote out XX_xtra as an example to show how the loop was meant to work, but it makes much more sense to get the mid-points of the segments using for(x), so thank you for that! The main function of this part of the code is to assign values for the spatial derivative of the electric field correspond...
- Mon Feb 13, 2017 11:52 am
- Forum: Other questions
- Topic: Step Functions in NEURON
- Replies: 9
- Views: 7684
Re: Step Functions in NEURON
Thank you for the fast response Ted! The code I am working with does use p3d syntax to specify section geometry. The loop I shared in my original post is meant to specify certain variables that correspond to midpoints of each segment in a section. Looking at interpxyz.hoc it is clear that they based...
- Fri Feb 03, 2017 1:49 pm
- Forum: Other questions
- Topic: Step Functions in NEURON
- Replies: 9
- Views: 7684
Step Functions in NEURON
Hello, I am working with the code in Pashut et al 2011 to make a realistic 2-D model of TMS on a layer V pyramidal neuron. Right now, I am having trouble understanding how NEURON is calculating step functions in this loop: for ii = 0, nseg { xr = range.x[ii] xrf= range.x[ii+1] //x_xtra(xr:xrf)=xint....