Search found 6393 matches

by ted
Wed Aug 28, 2024 11:35 am
Forum: Parallel NEURON
Topic: Assigning GIDs to netcon without cell object
Replies: 5
Views: 28512

Re: Assigning GIDs to netcon without cell object

the cell I create is composed of h.SectionList() and not a neuron cell() object First, a bit of terminological clarity. NEURON has no such thing as a "neuron cell() object". It's up to the user to decide what types of cells are to be represented in a network model, then for each of those ...
by ted
Mon Aug 26, 2024 12:22 pm
Forum: Other questions
Topic: Extracellular mech and theory vs gradient of potential
Replies: 7
Views: 26789

Re: Extracellular mech and theory vs gradient of potential

Wrapping up the example from my post of Thu Aug 22, 2024--during the stimulus, the membrane potentials for compartments A and C approach 0.5 mV and -0.5 mV, respectively. Immediately after the end of the stimulus, the membrane potentials reverse polarity and then decay toward 0 as time advances. The...
by ted
Fri Aug 23, 2024 12:42 pm
Forum: Other questions
Topic: Extracellular mech and theory vs gradient of potential
Replies: 7
Views: 26789

Re: Extracellular mech and theory vs gradient of potential

The limitations are such as . . . only if the electrotonic length is small enough to neglect longitudinal currents Not so. The mathematical derivation and discussion that are presented in justification of the activating function approach make the tacit assumption that the axon / nerve fiber / neuri...
by ted
Thu Aug 22, 2024 12:56 pm
Forum: Other questions
Topic: Extracellular mech and theory vs gradient of potential
Replies: 7
Views: 26789

Re: Extracellular mech and theory vs gradient of potential

if anybody reads this post, I suggest the following for discussion about this topic and other interesting ones: 10.1016/j.jphysparis.2011.10.003 An excellent suggestion. For those who don't immediately recognize the DOI, the citation is Joucla S, Yvert B. Modeling extracellular electrical neural st...
by ted
Wed Aug 21, 2024 3:41 pm
Forum: Other questions
Topic: Extracellular mech and theory vs gradient of potential
Replies: 7
Views: 26789

Re: Extracellular mech and theory vs gradient of potential

Why? Because you don't understand the limitations of the "activating function" approach. Frank Rattay was quite explicit about those limitations in at least one of his many articles, but he didn't reiterate them in all. Your task, if you are willing to accept it, is to track down those lim...
by ted
Sun Aug 18, 2024 4:42 pm
Forum: NEURON + Python
Topic: h.frecord_init() and Python Multiprocessing
Replies: 7
Views: 33155

Re: h.frecord_init() and Python Multiprocessing

Yes, that's the imprecision of fixed precision floating point arithmetic. Then I remember that few parameters of any biological system are known to more than two significant figures and shudder after looking at the documentation again I ran the following test and see that I can just supply a time h....
by ted
Fri Aug 16, 2024 11:28 am
Forum: NEURON + Python
Topic: Using a hoc cell template with Python
Replies: 3
Views: 23756

Re: Using a hoc cell template with Python

Great, glad to help! Please remember to let us know when you publish something that reports work done with NEURON.
by ted
Fri Aug 16, 2024 11:25 am
Forum: NEURON + Python
Topic: h.frecord_init() and Python Multiprocessing
Replies: 7
Views: 33155

Re: h.frecord_init() and Python Multiprocessing

Time to (re-)read the documentation of the Vector class's record() method at nrn.readthedocs.io. I bet it has been a long time since you last read it. It's hard to retain all that stuff after a single reading, especially the parts that don't pertain to the problem at hand (which is usually simple da...
by ted
Thu Aug 15, 2024 12:50 pm
Forum: NEURON + Python
Topic: Using a hoc cell template with Python
Replies: 3
Views: 23756

Re: Using a hoc cell template with Python

I haven't seen this CA1_PC_cAC_sig[0].soma[?] yet, but my guess would have been that it meant that "soma" is an "indexed" name, i.e., that when the "soma" thing was initially created, it was done with a statement of the form create soma[1] so that more than one section ...
by ted
Wed Aug 14, 2024 12:00 pm
Forum: NEURON + Python
Topic: can't run without GUI in Linux + slurm
Replies: 2
Views: 21937

Re: can't run without GUI in Linux + slurm

Thanks for posting that! For others who may read this thread, executing nrniv -h at the system prompt prints a list of options that may be specified when launching NEURON from a terminal. These options can also be passed to NEURON's python module through the NEURON_MODULE_OPTIONS environment variabl...
by ted
Mon Aug 12, 2024 11:01 am
Forum: NEURON + Python
Topic: h.frecord_init() and Python Multiprocessing
Replies: 7
Views: 33155

Re: h.frecord_init() and Python Multiprocessing

For embarrassingly parallel problems like this I have always used NEURON's bulletin-board style parallelization with MPI, so I can't give you any advice about python multiprocessing. That said, here's a suggestion that could reduce data storage requirements a bit: record the state variables that hav...
by ted
Thu Aug 01, 2024 11:53 am
Forum: MSWin
Topic: error creating nrnmech.dll modeldb 195615 with python
Replies: 6
Views: 35905

Re: error creating nrnmech.dll modeldb 195615 with python

To quote my previous post If nrnivmodl is run under Windows and encounters an NMODL file that relies on things that are not available in Windows, like SIGHUP, it will generate an error message and quit. Models that require such mechanisms are incompatible with Windows. Do you know if there's a trivi...
by ted
Wed Jul 31, 2024 11:23 pm
Forum: MSWin
Topic: error creating nrnmech.dll modeldb 195615 with python
Replies: 6
Views: 35905

Re: error creating nrnmech.dll modeldb 195615 with python

Tried nrnivmodl with NEURON 8.2.2 under Win 10, and had the same problem. The killer error appears to be 'SIGHUP" undeclared Apparently Windows doesn't have SIGHUP or anything equivalent to it--see http://stackoverflow.com/questions/3614020/ddg#3614203 If nrnivmodl is run under Windows and enco...
by ted
Wed Jul 31, 2024 6:38 pm
Forum: MSWin
Topic: error creating nrnmech.dll modeldb 195615 with python
Replies: 6
Views: 35905

Re: error creating nrnmech.dll modeldb 195615 with python

Just did a fresh install of latest version of Anaconda Python and NEURON under Win 10--specifically NEURON 8.2.6+ HEAD dated 2024-07-24. neurondemo works fine, which confirms that at least some mod files can be compiled. But trying to compile the mod files from modeldb.science/195615 produces the sa...
by ted
Wed Jul 31, 2024 3:47 pm
Forum: MSWin
Topic: error creating nrnmech.dll modeldb 195615 with python
Replies: 6
Views: 35905

Re: error creating nrnmech.dll modeldb 195615 with python

Under Linux nrnivmodl succeeds with 8.0a, 8.2.3, and 8.2.4 HEAD. I'll try with Windows.