Search found 5919 matches

by ted
Fri Jun 11, 2021 12:30 am
Forum: NEURON hacks
Topic: nrnivmodl translation rules
Replies: 5
Views: 53

Re: nrnivmodl translation rules

Well, you can see the c code that is generated, so have at it.
by ted
Fri Jun 11, 2021 12:28 am
Forum: Suggestions and Feedback
Topic: Repeated/Wrong Text in NEURON extension to NMODL Doumentation
Replies: 1
Views: 17

Re: Repeated/Wrong Text in NEURON extension to NMODL Doumentation

That's a really old document that seems to have been unchanged for a long time--I have a copy of it from 2011, and it was old then. The error you note was present even in 2011. The text is somewhat agrammatical, and it doesn't have anything to do with VALENCE or "Point_Process" (which, by ...
by ted
Thu Jun 10, 2021 10:03 am
Forum: NEURON hacks
Topic: nrnivmodl translation rules
Replies: 5
Views: 53

Re: nrnivmodl translation rules

those translated C codes still look to me not human readable in my humble opinion. Your humble opinion is mostly correct. Those c files are computer generated, and they're not intended to be human readable. Bits and pieces of them can be understood for very specific purposes, if and when absolutely...
by ted
Thu Jun 10, 2021 9:40 am
Forum: NEURON + Python
Topic: hh.mod + Python + membrane potential at several points of the soma
Replies: 3
Views: 55

Re: hh.mod + Python + membrane potential at several points of the soma

Here https://neuron.yale.edu/neuron/publications/expanding-neurons-repertoire-mechanisms-nmodl you will find a link to a much expanded preprint of a paper that explains how NMODL is used to implement ion channels, transport mechanisms (pumps), and accumulation and diffusion of solutes. Very useful i...
by ted
Mon Jun 07, 2021 10:33 am
Forum: NEURON hacks
Topic: nrnivmodl translation rules
Replies: 5
Views: 53

Re: nrnivmodl translation rules

Are you just trying to figure out how to write NMODL code that does something useful, or are you actually interested in the process that translates NMODL statements into C code?
by ted
Mon Jun 07, 2021 10:26 am
Forum: NEURON hacks
Topic: addng a parameter to mod file
Replies: 1
Views: 27

Re: addng a parameter to mod file

the kitchens of the channel You mean the kinetics. Etymologies: kitchen https://www.etymonline.com/word/kitchen kinetic https://www.etymonline.com/search?q=kinetic I want to add a parameter to the mtau, so it will be mtau*p It looks like you are dealing with a density mechanism (its NMODL block wil...
by ted
Fri Jun 04, 2021 9:58 pm
Forum: Getting started
Topic: how to plot the IV curve
Replies: 6
Views: 10953

Re: how to plot the IV curve

The question is outside the scope of the Forum. You might find answers in an advanced course on cellular electrophysiology, or in the scientific literature (might start by reading articles published by the originator of this thread within 2 or 3 years after April 2009).
by ted
Fri Jun 04, 2021 11:43 am
Forum: NEURON Announcements
Topic: NEURON has a YouTube channel!
Replies: 0
Views: 52

NEURON has a YouTube channel!

NEURON now has a YouTube channel. The first video in this channel is a recording of the first webinar in the 2021 NEURON Online Course series--see viewtopic.php?f=22&t=4410
by ted
Fri Jun 04, 2021 2:42 am
Forum: NEURON Announcements
Topic: 2021 NEURON Online Course
Replies: 1
Views: 495

Re: 2021 NEURON Online Course

The slides and video recordings from this course's presentations are (this list will grow as the course progresses): 20210603 Basic Concepts and GUI slides https://www.neuron.yale.edu/ftp/neuron/2021_NEURON_Online_Course/20210603_BasicConceptsAndGUI.pdf video https://youtu.be/31ioJKfPw_g (best viewe...
by ted
Thu May 27, 2021 10:40 am
Forum: Other questions
Topic: Play both excitatory and inhibitory conductances into SEClamp
Replies: 3
Views: 104

Re: Play both excitatory and inhibitory conductances into SEClamp

Just make sure that your synaptic conductance values are all > 0. Forcing a minimum value of 1e-9 should be sufficient.
by ted
Wed May 26, 2021 3:14 pm
Forum: Other questions
Topic: Play both excitatory and inhibitory conductances into SEClamp
Replies: 3
Views: 104

Re: Play both excitatory and inhibitory conductances into SEClamp

You're on the right track. Just be sure to 1. set each SEClamp's dur1 to 1e9 2. set each SEClamp's amp1 to the appropriate "synaptic reversal potential" 3. make sure that the "rs values" that drive the two clamps are in megohms. For example, if you have the time course of a synap...
by ted
Mon May 24, 2021 11:09 pm
Forum: Modeling networks
Topic: How to activate network by synaptic mini current after time 50 ms when all network cells get silent
Replies: 11
Views: 427

Re: How to activate network by synaptic mini current after time 50 ms when all network cells get silent

Glad to have helped with the "easy" part. The hard part is doing the research and writing up the results.
by ted
Mon May 24, 2021 11:06 am
Forum: Modeling networks
Topic: How to activate network by synaptic mini current after time 50 ms when all network cells get silent
Replies: 11
Views: 427

Re: How to activate network by synaptic mini current after time 50 ms when all network cells get silent

Got it. The Programmer's Reference documentation of NetCon says that, when the section has to be specified, the syntax should be section netcon = new NetCon(&v(x), target, threshold, delay, weight) So change pyag = new NetCon(&PY[i].soma.v(0.5), agcell, 0, 1, .025) to PY[i].soma pyag = new N...
by ted
Mon May 24, 2021 10:59 am
Forum: The GUI
Topic: GUI bug in netbuilder?
Replies: 4
Views: 125

Re: GUI bug in netbuilder?

when I tried to save the NetBuilder and assorted paraphernalia to a .ses file, I got an endless loop of seg fault errors
I don't like any of this. Can you uninstall NEURON completely, then install the latest version (8.0) from www.neuron.yale.edu? You'll have to recompile your .mod files.
by ted
Mon May 24, 2021 10:06 am
Forum: The GUI
Topic: GUI bug in netbuilder?
Replies: 4
Views: 125

Re: GUI bug in netbuilder?

It looks like you connected the spike source (a NetStim) to a valid target (an Exp2Syn), but . . . The line stays in place, but never becomes thick, and the help prompt never changes. Yes, those changes should have happened. What happens if you simply resize the window a bit? What version of NEURON ...