Search found 7 matches

by mi2n
Mon Jul 01, 2024 2:27 am
Forum: NEURON + Python
Topic: Can't we write tautable.hoc in Python?
Replies: 2
Views: 5681

Re: Can't we write tautable.hoc in Python?

But I can't find a python statement equivalent to the following HOC statement:

Code: Select all

 table_tabmtau_KIR(&vecmtau_KIR.x[0], vecv_KIR.size, &vecv_KIR.x[0]) 
by mi2n
Fri May 24, 2024 3:36 am
Forum: NEURON + Python
Topic: Can't we write tautable.hoc in Python?
Replies: 2
Views: 5681

Can't we write tautable.hoc in Python?

I wonder if we still need to write tautables in hoc, then include in the python script? For example, for the following hoc script: // Tautable for KIR channel objref vecv_KIR, vecmtau_KIR vecv_KIR = new Vector() vecv_KIR.indgen(-100, 0, 10) // -100 to 0 with steps of 10 vecmtau_KIR = new Vector() ve...
by mi2n
Fri Mar 01, 2024 1:22 am
Forum: NEURON + Python
Topic: Diameter of a Squid Giant Axon Model
Replies: 5
Views: 8993

Re: Diameter of a Squid Giant Axon Model

Woww! This is going into deep waters. But yeah, I got the idea of why the oscillations happen. Thank you once again for your quick and informative reply as always. So, the perceived inductance is not real, the oscillation is caused by the involvement of active channels, huh! I tried the experimental...
by mi2n
Thu Feb 29, 2024 12:04 am
Forum: NEURON + Python
Topic: Diameter of a Squid Giant Axon Model
Replies: 5
Views: 8993

Re: Diameter of a Squid Giant Axon Model

Thanks, this makes sense now. I have one more question regarding squid axon behavior (not sure if I should post it as a separate post in the forum). When I use the default HH axon (L=100, diam = 500, celsius = 6.3) and stimulate it with a step current (IClamp, amp = 1, delay = 1000, dur = 300), I ge...
by mi2n
Tue Feb 27, 2024 4:13 am
Forum: NEURON + Python
Topic: Diameter of a Squid Giant Axon Model
Replies: 5
Views: 8993

Diameter of a Squid Giant Axon Model

Hello everyone, when you create a new section in NEURON, the default length of the section will be 100 um, the diameter will be 500 um, and the temperature will be 6.3 degrees Celsius. I guess this is in accordance with the properties of squid giant axon. But then why do the dimensions in the "...
by mi2n
Fri Apr 28, 2023 6:04 am
Forum: NEURON + Python
Topic: What is a NEURON equivalent of a point-neuron?
Replies: 3
Views: 20843

Re: What is a NEURON equivalent of a point-neuron?

Thanks a lot for your clarification. I wasn't very thorough with the experiment. There was a mistake in evaluating the area as well. I included the flat surfaces of the soma for the computation. It seems only the curved surface area of the cylinder is involved in the ion conductance - is that so? Ea...
by mi2n
Thu Apr 13, 2023 12:24 pm
Forum: NEURON + Python
Topic: What is a NEURON equivalent of a point-neuron?
Replies: 3
Views: 20843

What is a NEURON equivalent of a point-neuron?

It is possible to define a dimensionless point neuron without using NEURON simulation environment as below: import numpy as np from scipy.integrate import solve_ivp # Define the Hodgkin-Huxley model parameters Cm = 1.0 # membrane capacitance (uF/cm^2) gNa = 120.0 # maximum sodium conductance (mS/cm^...