myelinated
- class nrv.nmod.myelinated(y=0, z=0, d=10, L=10000, model='MRG', dt=0.001, node_shift=0, Nseg_per_sec=1, freq=100, freq_min=0, mesh_shape='plateau_sigmoid', alpha_max=0.3, d_lambda=0.1, rec='nodes', v_init=None, T=None, ID=0, threshold=-40, **kwargs)[source]
Myelinated axon class. Automatic refinition of all neuron sections and properties. User-friendly object including model definition Inherit from axon class. see axon for further detail.
- Parameters:
y (float) – y coordinate for the axon, in um
z (float) – z coordinate for the axon, in um
d (float) – axon diameter, in um
L (float) – axon length along the x axins, in um
model (str) –
- choice of conductance double-cable based model, possibly:
”MRG” : see [1] for details “Gaines_motor” : Gaines motor model, see [2] “Gaines_sensory”: Gaines sensory model, see [2]
dt (float) – computation step for simulations, in ms. By default equal to 1 us
node_shift (float) – shift of the first node of Ranvier to zeros, as a fraction of internode length (0<= node_shift < 1)
Nseg_per_sec (int) – Number of segment per section in the axon. If set to 0, the number of segment is automatically computed using d-lambda rule and following paramters. If set by user, please use odd numbers
freq (float) – Frequency used for the d-lmbda rule, corresponding to the maximum membrane current frequency, by default set to 100 Hz
freq_min (float) – Minimal frequency fot the d-lambda rule when using an irregular number of segment along the axon, if set to 0, all sections have the same frequency determined by the previous parameter
mesh_shape (str) –
- Shape of the frequencial distribution for the dlmabda rule along the axon, pick between:
”pyramidal” -> min frequencies on both sides and linear increase up to the middle at the maximum frequency “sigmoid” -> same a befor with sigmoid increase instead of linear “plateau” -> sale as pyramidal except the max frequency is holded on a central plateau “plateau_sigmoid” -> same as previous with sigmoid increase
alpha_max (float) – Proportion of the axon set to the maximum frequency for plateau shapes, by default set to 0.3
d_lambda (float) – value of d-lambda for the dlambda rule
rec (str) –
- recording zones for the membrane potential, eiter:
”nodes” -> record only at the nodes of Ranvier
- or
”all” -> all computation points in nodes of Ranvier and over myelin
v_init (float) – Initial value of the membrane voltage in mV, set None to get an automatically model attributed value
T (gloat) – temperature in C, set None to get an automatically model attributed value
ID (int) – axon ID, by default set to 0,
threshold (float) – voltage threshold in mV for further spike detection in post-processing, by defautl set to -40mV, see post-processing library for further help
Note
scientific sources for models: [1] McIntyre CC, Richardson AG, and Grill WM. Modeling the excitability of mammalian nerve fibers: influence of afterpotentials on the recovery cycle. Journal of Neurophysiology 87:995-1006, 2002. [2] Gaines, J. L., Finn, K. E., Slopsema, J. P., Heyboer, L. A., Polasek, K. H. (2018). A model of motor and sensory axon activation in the median nerve using surface electrical stimulation. Journal of computational neuroscience, 45(1), 29-43.
Methods
|
initialisation of a myelinted axon |
attach an extracellular recorder to the axon |
|
attach a extracellular context of simulation for an axon |
|
Change the stimulus of the ID_elec electrods |
|
Check if an extracellular context is attached to the instance |
|
get the markov model at the end of simulation. |
|
get electrodes footprints on each axon segment |
|
get the ionic channels conductance at the end of simulation. |
|
get the ionic channels currents at the end of simulation. |
|
get the membrane capacitance NB: [uF/cm^{2}] (see Neuron unit) |
|
get the total membrane conductance at the end of simulation. |
|
get the membrane current at the end of simulation. |
|
get the membrane voltage at the end of simulation. |
|
get the membrane capacitance NB: [uF/cm^{2}] (see Neuron unit) |
|
get the membrane capacitance NB: [S/cm^{2}] (see Neuron unit) |
|
Generic method returning all the atributes of an NRV_class instance |
|
get the particules values at the end of simulation. |
|
|
Insert a IC clamp stimulation at the midd point of the nearest node to the specified position |
|
Insert a IC clamp stimulation on a Ranvier node at its midd point position |
|
Insert a V clamp stimulation at the midd point of the nearest node to the specified position |
|
Insert a V clamp stimulation |
Check if an intracellular context is attached to the instance |
|
|
Load all axon properties from a dictionary or a json file |
|
|
|
|
Check if a recording context is attached to the instance |
|
|
Return axon as dictionary and eventually save it as json file |
|
|
|
Change typical particle-Na sodium in Hodgking-Huxley formalism to Markov-channel population model. |
setup the markov model recording. |
|
setup the ionic channels conductance recording. |
|
setup the ionic channels current recording. |
|
setup the membrane current recording. |
|
setup the membrane voltage recording. |
|
|
Generic method to set any attribute of |
setup the particules current recording. |
|
Shuts down the recorder locally |
|
|
Simulates the axon using neuron framework |
call the neuron topology function to plot the current topology on prompt |