Search found 6338 matches

by ted
Sun Sep 08, 2024 1:21 pm
Forum: Anatomically detailed models
Topic: Importing SWC files and best practices
Replies: 3
Views: 100

Re: Importing SWC files and best practices

Start with a clear concept of what you're trying to do. For your purpose, is it sufficient to represent neurites as right cylinders, or is it important that a neurite's diameter may vary, and its centroid diverge from a straight line, from one end to the other? This decision should be strictly on a ...
by ted
Fri Sep 06, 2024 2:51 pm
Forum: Anatomically detailed models
Topic: Importing SWC files and best practices
Replies: 3
Views: 100

Re: Importing SWC files and best practices

I'm working on converting some NML files created in Webknossos into a format that I can import into NEURON. I did not find any ready-made solutions that seemed to give me what I need Have you considered https://github.com/nathantspencer/webknossos_toolkit ? Hard to know the quality and actual utili...
by ted
Wed Sep 04, 2024 2:03 pm
Forum: Parallel NEURON
Topic: Assigning GIDs to netcon without cell object
Replies: 5
Views: 183

Re: Assigning GIDs to netcon without cell object

I guess I wasn't sufficiently explicit. By "simple test" I meant dirt simple--no dependence on anything (other than e.g. MPI and your operating system) that that isn't built into NEURON. That means no ion channels other than pas and HH. And no reference to 3rd party modules e.g. "sett...
by ted
Mon Sep 02, 2024 3:47 pm
Forum: Parallel NEURON
Topic: Assigning GIDs to netcon without cell object
Replies: 5
Views: 183

Re: Assigning GIDs to netcon without cell object

Documentation says "The cell or artificial cell object is returned that is associated with the global id." Says "cell or artificial cell object", not "(top level) section" (that is, it doesn't say "a section that is not encapsulated in an object"). Is this the...
by ted
Sun Sep 01, 2024 3:42 pm
Forum: Other questions
Topic: Re: Extracellular stimulation and recording
Replies: 4
Views: 18002

Re: Extracellular stimulation and recording

The electric field at any location p with coordinates (x,y,z) is the gradient of electric potential v at that location. You need to discover the locations of the internal nodes (segment centers) of all sections in your model cell, and then use that information to get COMSOL to tell you what the fiel...
by ted
Wed Aug 28, 2024 11:35 am
Forum: Parallel NEURON
Topic: Assigning GIDs to netcon without cell object
Replies: 5
Views: 183

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: 360

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: 360

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: 360

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: 360

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: 1406

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: 1147

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: 1406

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: 1147

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: 776

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...