Broken Voltage Grapher

Using the graphical user interface to build and exercise models. Includes customizing the GUI by writing a little bit of hoc.
Post Reply
DavidSwygart
Posts: 3
Joined: Mon Dec 03, 2018 6:50 pm

Broken Voltage Grapher

Post by DavidSwygart » Wed Dec 05, 2018 1:17 am

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
Image

With "forall Ra = 24.5" commented out
Image

ted
Site Admin
Posts: 5370
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Broken Voltage Grapher

Post by ted » Wed Dec 05, 2018 10:14 am

Diagnosing the problem will require being able to reproduce it. Zip up the files necessary to reproduce it
(see viewtopic.php?f=28&t=1048)
and email the zip file to
ted dot carnevale at yale dot edu
and I'll let you know what I find out.

DavidSwygart
Posts: 3
Joined: Mon Dec 03, 2018 6:50 pm

Re: Broken Voltage Grapher

Post by DavidSwygart » Wed Dec 05, 2018 12:33 pm

Hello, thanks for your quick response. I have sent the code that I have been having trouble with. I now notice that when I reduce nseg to a lower value, the grapher doesn't work even without specifying Ra. So, I am very confused as to what is going on.

Post Reply