Extracellular Fields

Managing anatomically complex model cells with the CellBuilder. Importing morphometric data with NEURON's Import3D tool or Robert Cannon's CVAPP. Where to find detailed morphometric data.
tonyclick
Posts: 4
Joined: Sun Apr 09, 2023 2:03 am

Re: Extracellular Fields

Post by tonyclick »

Dear Ted,
I've successfully run the program by modifying the template in the link below.
http://www.neuron.yale.edu/ftp/ted/neuron/ecstim.zip

My goal is to apply an electric potential that changes over time and space to an axon model.
The potential is obtained by reading a file, which is a matrix of Nseg * NUMPTS.
The row (Nseg) represents the potential of a section over time.
The column (NUMPTS) represents the potential at different sections at a time point.
But as shown in Figure 1, the potential difference inside and outside the cell membrane has decreased, and there is a spike in the beginning.https://mail.qq.com/cgi-bin/viewfile?f= ... 3062443038(saved as.jpg)
I'm wondering if there's an error with the method of adding potential. The code is below.
Besides ,What does Figure 2 represent

Code: Select all

forall insert extracellular
objref veclist  // will hold all the stim Vectors
j=0
proc setstim() { localobj tmpvec
  veclist = new List()
  forall {
    for (x, 0) {   
      tmpvec = pvec.c     
      pvec=extern_field.getrow(j)
      tmpvec=pvec
      j=j+1
      tmpvec.play(&e_extracellular(x), tvec)
      veclist.append(tmpvec)
    }
  }
}
Best regards,
Post Reply