Search found 5 matches
- Fri Dec 21, 2018 8:35 pm
- Forum: Other questions
- Topic: Impedance methods change the location
- Replies: 5
- Views: 3950
Re: Impedance methods change the location
Thanks for the help. It works well and speeds up my code dramatically.
- Thu Dec 13, 2018 7:23 pm
- Forum: Getting started
- Topic: Parameters for the Ih current
- Replies: 5
- Views: 4531
Re: Parameters for the Ih current
As it happens, I was working a modified version of that mod file last week. While its commonly used and it reproduces the measured current well, that mod file has some mistakes in the units. Confusion with the parameters is quite understandable as the terms are fairly specific to that file. All 4 of...
- Thu Dec 06, 2018 3:33 pm
- Forum: Other questions
- Topic: Impedance methods change the location
- Replies: 5
- Views: 3950
Re: Impedance methods change the location
I believe I have located the issue, but cpp programming is not an area of expertise. The issue seems to arise in "nonlinz.cpp": The input_amp(), input_phase(), and ratio_amp() methods include the line "solve(curloc)", and within this solve() method the "iloc" parameter ...
- Tue Dec 04, 2018 6:53 pm
- Forum: Getting started
- Topic: sectioning neuron based on distance from soma
- Replies: 9
- Views: 7517
Re: sectioning neuron based on distance from soma
Something like this should work: soma distance() maxdist=0 // get maximum distance forall for(x,0) if (distance(x)>maxdist) maxdist=distance(x) // generate sectionlists objref prox, mid, dist prox = new SectionList() mid = new SectionList() dist = new SectionList() forall { if (distance(0.5)/maxdist...
- Tue Dec 04, 2018 2:29 pm
- Forum: Other questions
- Topic: Impedance methods change the location
- Replies: 5
- Views: 3950
Impedance methods change the location
When using the Impedance methods Impedance.input(x), Impedance.input_phase(x), or Impedance.ratio(x) the Impedance.loc(x) value is changed making any subsequent calls to Impedance.transfer(x) or Impedance.transfer_phase(x) return incorrect values. As illustrated by the following example code with ou...