I'm implementing a simple unmyelinated axon, I want to use LFPsim method to measure the voltage potential at some different compartments. My purpose is to monitor the attenuation of the peak value of the action potential with distance from the ion channel.
My question is:
1. How can I apply a stimulus at a specific ion channel (Has to be ion channel current, originated from concentration gradient and electric potential
gradient) to make the neuron fire an action potential.
2. How to extract the peak value of the action potential at different positions?
3. I want to polt the peak value of action potential(y-axis) and is corresponding L(the distance between the ion channel
which is applied with stimulus). Is NEURON capable of doing that? If not, how can I save the value that I measured
and plot it using other software like MATLAB?
The hoc code of the cell is:
Code: Select all
proc celldef() {
topol()
subsets()
geom()
biophys()
geom_nseg()
}
create soma, axon
proc topol() { local i
connect axon(0), soma(1)
basic_shape()
}
proc basic_shape() {
soma {pt3dclear() pt3dadd(0, 0, 0, 1) pt3dadd(15, 0, 0, 1)}
axon {pt3dclear() pt3dadd(15, 0, 0, 1) pt3dadd(90, 0, 0, 1)}
}
objref all
proc subsets() { local i
objref all
all = new SectionList()
soma all.append()
axon all.append()
}
proc geom() {
soma { L = 30 diam = 30 }
axon { L = 500 diam = 1 }
}
proc geom_nseg() {
soma { nseg = 1 }
axon { nseg = 10 }
}
proc biophys() {
forsec all {
Ra = 100
cm = 1
}
soma {
insert hh
gnabar_hh = 0.12
gkbar_hh = 0.036
gl_hh = 0.0003
el_hh = -54.3
}
axon {
insert pas
g_pas = 0.002
e_pas = -65
}
}
access soma
celldef()
Another question is , after double-clicking axon.hoc I loaded the session file and error messages were shown:
Code: Select all
NEURON -- VERSION 7.7.2 7.7 (2b7985ba) 2019-06-20
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2018
See http://neuron.yale.edu/neuron/credits
oc>Window menu not closed
C:\nrn\bin\nrniv.exe: A menu is still open
in windows_of_axon.ses near line 194
}
^
xpanel(0, 24)
xopen("windows_of...")
NEURONMainMenu[0].execute1("{xopen("wi...")
NEURONMainMenu[0].load_file(1, "C:/models/...")
and others
https://senselab.med.yale.edu/ModelDB/S ... 140#tabs-1
I added the file folder of the LFPsim and put flp.mod and mea.mod in the same mod folder under my axon file. I have successfully compiled the mod file, but when I typed at the nrniv window, I got an error:
Code: Select all
xopen("extracellular_electrode.hoc")
C:\nrn\bin\nrniv.exe: Can't open extracellular_electrode.hoc
in axon.ses near line 57
xopen("extracellular_electrode.hoc")
^
xopen("extracellu...")
Thanks a lot for your time, hope that anyone could give me some suggestions.