Search found 6128 matches

by ted
Mon Mar 20, 2023 8:43 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Current NMODL Best Practices
Replies: 3
Views: 31

Re: Current NMODL Best Practices

Avoid Euler
For clear guidance on what integration method to specify in NMODL code, see Integration methods for SOLVE statements in the NEURON Forum's Hot tips area.
by ted
Mon Mar 20, 2023 8:38 pm
Forum: Anatomically detailed models
Topic: Segmentation violation error in swc
Replies: 4
Views: 57

Re: Segmentation violation error in swc

Do what you like, but if your time and effort are worth anything, think hard before using this anatomical data in your models. Especially since so much morphometric data is available from NeuroMorpho.org that is not affected by these artifacts. And if you use flawed anatomical data, when it comes ti...
by ted
Mon Mar 20, 2023 4:17 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Current NMODL Best Practices
Replies: 3
Views: 31

Re: Current NMODL Best Practices

Most of the information appears not to have been updated in years. That's because most of what needed to be documented hasn't changed in decades. Many changes are expected in NEURON version 9, especially metadata features that will be particularly useful for code introspection; this will doubtless ...
by ted
Mon Mar 20, 2023 3:23 pm
Forum: NEURON + Python
Topic: Unbounded Membrane Voltage Increase
Replies: 5
Views: 141

Re: Unbounded Membrane Voltage Increase

That paper would correspond to ModelDB entry 2488 (modeldb.yale.edu/2488, modeldb.science/2488). The associated source code does not include any swc files. The "Overview" page of the ModelDB entry mentions http://www.cnl.salk.edu/~zach/methods.html and http://www.cnl.salk.edu/~zach/ , but ...
by ted
Sun Mar 19, 2023 5:29 pm
Forum: Anatomically detailed models
Topic: Segmentation violation error in swc
Replies: 4
Views: 57

Re: Segmentation violation error in swc

Tell your experimental collaborators the following: 1. There are large (in some cases, huge) discontinuities in the z direction. You can see this yourself--just look at the values in the fifth field of each data line. That alone would make these data not useful for computational modeling. 2. All dia...
by ted
Thu Mar 16, 2023 1:29 pm
Forum: NEURON + Python
Topic: Unbounded Membrane Voltage Increase
Replies: 5
Views: 141

Re: Unbounded Membrane Voltage Increase

Thanks for the quick followup on that. If that particular swc file is available on line, could you please point me to it? I thought that problems with "one point somas" had been resolved a while ago, but apparently not.
by ted
Thu Mar 16, 2023 12:02 am
Forum: NEURON + Python
Topic: Using external file to set parameter value in MOD file
Replies: 3
Views: 105

Re: Using external file to set parameter value in MOD file

we would like to save the last timepoint values of our parameters for a previous simulation and then use those values to initialize a future simulation. For that you will want to use the SaveState class. This is documented in the programmers' reference--see https://nrn.readthedocs.io/en/8.2.2/pytho...
by ted
Wed Mar 15, 2023 11:38 pm
Forum: NEURON + Python
Topic: Unbounded Membrane Voltage Increase
Replies: 5
Views: 141

Re: Unbounded Membrane Voltage Increase

Well, "insert" isn't something that hapens to a segment--it happens to a section. Example: if soma is a section, this statement soma.insert('pas') would insert the pas mechanism into soma. If you try to insert a mechanism into a segment under Python, you should get an error message similar...
by ted
Wed Mar 15, 2023 6:05 pm
Forum: Other questions
Topic: pyramidal spine-neck EPSPs
Replies: 50
Views: 1926

Re: pyramidal spine-neck EPSPs

OK, this is where it starts to get complicated. If one starts building a model from scratch, one is responsible for all the decisions about the model's anatomical and biophysical properties. That includes, but is not limited to, what ion channels, buffers, pumps etc. it should include. AND the value...
by ted
Tue Mar 14, 2023 11:27 pm
Forum: The GUI
Topic: recording HCN channels using GUI
Replies: 7
Views: 241

Re: recording HCN channels using GUI

The hoc template is complicated but presumably it worked and was of some interest to you. So let's go back to that and see how to use it from Python and do vector record. After that is working, we can return to the issue of how to implement a cell class with Python. It will be most efficient if you...
by ted
Tue Mar 14, 2023 11:19 am
Forum: The GUI
Topic: default parameters
Replies: 1
Views: 98

Re: default parameters

The diameter, specific membrane capacitance, and cytoplasmic resistivity of a freshly created section are based on squid giant axon. The paramters of the built-in hh mechanism are based on the famous papers by Hodgkin and Huxley. What else would you like to know about?
by ted
Thu Mar 09, 2023 2:37 pm
Forum: The GUI
Topic: recording HCN channels using GUI
Replies: 7
Views: 241

Re: recording HCN channels using GUI

Sorry if some of my responses incorrectly estimate your knowledge and experience. While the Forum is a useful tool, in many ways it is quite inadequate compared to a live discussion because of its rather limited semantic bandwidth. A live discussion permits the rapid back-and-forth exchange that is ...
by ted
Wed Mar 08, 2023 6:21 pm
Forum: The GUI
Topic: recording HCN channels using GUI
Replies: 7
Views: 241

Re: recording HCN channels using GUI

A more important error occurred two statements earlier: in HCN4current_1 = h.ifun(sec_pyr1(0.5)) The syntax for adding a distributed mechanism to a section is different from the syntax for attaching a point process to a section. I could just tell you the correct syntax for the former, but here's a r...
by ted
Wed Mar 08, 2023 11:00 am
Forum: Other questions
Topic: pyramidal spine-neck EPSPs
Replies: 50
Views: 1926

Re: pyramidal spine-neck EPSPs

The senior author's lab has a web site at which you can request a copy--see https://www.arayalab.org/about-8
by ted
Wed Mar 08, 2023 2:04 am
Forum: Other questions
Topic: pyramidal spine-neck EPSPs
Replies: 50
Views: 1926

Re: pyramidal spine-neck EPSPs

USEION statements are not part of hoc syntax. They are a feature of NMODL, the programming language that is used for purposes that include adding ion channels and ion accumulation mechanisms to NEURON's library of mechanisms. Trying to execute USEION ca READ cao WRITE cao or inserting such a line in...