Extracellular stimulation and recording
viewtopic.php?t=168)
Not sure what you mean by this. Do you mean that you know the values of extracellular potential at a set of points in space (what you call a "grid")? If so, your first task is to use that information to calculate the extracelular potential at locations that correspond to the anatomy of the cell you are stimulating. If you prefer to use the "line source approximation" approach, those locations would be straight line segments that either (1) approximate the trajectory of the centroids of the segments of your discretized model cell or (2) are simply the straight lines that run from the 0 to the 1 ends of the segments of your discretized model cell. If you prefer the "point source approximation", those locations could either be the centers of the straight lines that run from the 0 to 1 ends of the segments of your discretized model cell. or the midpoints of the 3D centroid paths of the segments.my step of the project is to have that extracellular stimulation as a grid superposed on the model
"change a single compartment of the grid to a specific value"? This is not doable in a conductive medium (and it would violate Maxwell's equations). "Ye canna change the laws of physics." Perhaps you mean "change the extracellular potential for a single compartment of a model cell"--which is conceivably doable (and indeed membrane biophysicists have done this at single nodes of Ranvier).I would like to then go in and change a single compartment of the grid to a specific value so that I can see the behavior it would have on the model.
Let me know which of these you have in mind, and then our discussion can become more specific.