Hello, I am new to NEURON and am having problems using the GUI to plot voltage. I have created a script (SWC_read.hoc) to load SWC morphology data and add synapses at specific locations and also record voltage from output synapse locations. As I go along, I have been using the GUI to run the simulation (Tools>RunControl) and plot voltage (Graph>Voltage axis), to ensure that my code is working like I think it should. Everything seemed to be working until I specified Ra. Now when I try to run the simulation, the graph does not plot anything but just creates a leftward diagonal line (see picture). The value for which I specify Ra doesn't seem to matter. Does anyone have any idea what might be going on?
Code: Select all
// Create Cell
load_file("SWC_read.hoc")
objectvar bpc
objectvar Vout
bpc = new cellfromSWC("imageStack_GapsFilled.swc","RibbonIndices.txt","InhibitoryIndices.txt")
// Set Biophysics
forall insert pas
forall g_pas = 0.000041668
forall e_pas = -41
forall Ra = 24.5
forall Cm = 1.1
With Ra specified
With "forall Ra = 24.5" commented out
