Spatial resolution in any section is controlled by (section length)/nseg. If you want to represent a "hot spot" of a particular size at a particular location in a neurite, you have a choice:
1. represent the entire neurite by a single section, but make nseg big enough to approximate the size of the hot spot
OR
2. represent the neurite with two or more sections, whose lengths and nseg values are exactly what you want. For example, a 10 um long hot spot near the 1 end of a neurite that is 430 um long could be implemented by representing the neurite with two sections:
Code: Select all
create a, b // b will represent the hot spot
connect b(0), a(1)
a L = 420 // and make nseg whatever you like
b L = 10 // leave nseg == 1 or change it to whatever you want
If the hot spot is not near either end of a neurite, represent the neurite with three sections
Code: Select all
create a, b, c // b will represent the hot spot
connect b(0), a(1)
connect c(0), b(1)
a L = 157 // and make nseg whatever it needs to be
b L = 10 // leave nseg == 1 or change it to whatever you want
c L = 430-10-157 // and make nseg whatever it needs to be
Those examples assume geometry is specified using the stylized method. If geometry uses the pt3d method, you'll have to figure out how to revise the sequence of pt3dadd statements to get the section lengths that you need.
You could also simply decide that the extra spatial resolution isn't worth the effort--just use a single section to represent the neurite, with whatever nseg is needed for adequate voltage resolution, and make sure to adjust the density parameter for the "hot spot mechanism" is correct. For example, to take into account a hot spot that consists of a cluster of ion channels, make sure that
(conductance density in the segment that contains the hot spot)*(area of that segment)
equals
(hot spot conductance density)*(hot spot area)