So I'm trying to use only one cell model(.hoc), and by changing a parameter of my extracellular field stimulation, I will collect the current information responded from the stimulation. Everytime I use the cell model, there is only one variable value that I need to change. However, I found that I couldn't do a for loop, or:
Code: Select all
for n2=0, numOfCell{
load_file("extracellular_field.hoc")
load_file("neuron2.hoc")
}
In case you are curious, the reason that I am doing this is that I'm trying to build a row that contains 10 CA1 pyramidal cells, and I stimulate each of them at the same time. Notice that none of them is connected, meaning that they are just individual cells sitting together, but there is not any physiological connections (synapses, gap junctions, etc.) These cells are all identical. Then there is a second row that contains 10 CA1 pyramidal cells (still they are separated), and for each cell in the second row, I need to apply an extracellular field that was created by all of the net current from the cells in row 1 to the cells in row 2. I'm trying to stimulate each of the cells in row 2 differently, but all of the cells are identical. Should I create a list of cells, then? It seems like this loop thing is not working.
Thank you!