Search found 5 matches

by ipv1313
Wed Jun 14, 2023 9:35 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Getting an error while setting the initial calcium concentration
Replies: 0
Views: 26577

Getting an error while setting the initial calcium concentration

I am trying to set the initial calcium concentration to some value in an L-type calcium ion channel. As mentioned in the book, I define cai and cao as a state variables. Still, I am getting an error while running the mknrndll file that there are no differential equations specified for those, so I ca...
by ipv1313
Sun Mar 26, 2023 6:06 am
Forum: NEURON + Python
Topic: Null pointer error when trying to access the pointer through python
Replies: 4
Views: 14144

Null pointer error when trying to access the pointer through python

Hello, I have four neurons in my network defined through cell templates in hoc - dopa, gaba, chol, and glu. I have multiple mod files for different receptors as well. Now I want to create a synapse between two neurons through python. I am using this code for the gaba A type receptor: NEURON { POINT_...
by ipv1313
Mon Dec 26, 2022 4:09 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Is inserting the hh mechanism compulsory?
Replies: 1
Views: 5937

Is inserting the hh mechanism compulsory?

Hello, I am trying to implement the persistent sodium current in my model. For this, I have removed the hh mechanism from my code. By doing so, the following error occurs: hh mechanism not inserted in section dopaminergic[0].soma C:\nrn\bin\nrniv.exe: in C:/Users/verma/OneDrive/Model_OneDrive/test.h...
by ipv1313
Tue Dec 20, 2022 5:47 am
Forum: Getting started
Topic: sodium ion accumulation without diffusion
Replies: 2
Views: 7038

sodium ion accumulation without diffusion

Hello all., I am a complete beginner to NEURON. I am trying to implement a cell with voltage-gated sodium, calcium, and potassium channels. I have inserted pumps and now focussing on managing ion diffusion across the membrane. I came across this mechanism on modelDB. https://senselab.med.yale.edu/Mo...
by ipv1313
Tue Dec 06, 2022 4:58 am
Forum: Adding new mechanisms and functions to NEURON
Topic: How to get total receptor current
Replies: 1
Views: 6380

How to get total receptor current

Hey all, I am a complete beginner, trying to implement a 2 cell network. I have implemented 1000 nAChR on the cell's soma in the postsynaptic cell. How can I get the total current of the soma? objectvar rec1[1000] for r = 0, 999{ rec1[r] = new nAChR() dopa.soma rec1[r].loc(0.5) setpointer rec1[r].C,...