Search found 7 matches
- Thu Jul 20, 2023 11:10 pm
- Forum: Other questions
- Topic: Code: Getting Value of Voltage at end of current pulse
- Replies: 3
- Views: 30837
Re: Code: Getting Value of Voltage at end of current pulse
Thank you for the reply! For the first question I found that " At the end of fadvance, var will be saved if t (after being incremented by fadvance) is equal or greater than the associated time of the next index." I am assuming if t does not meet the criteria, var(t) for that t will not be ...
- Wed Jul 19, 2023 4:35 am
- Forum: Other questions
- Topic: Code: Getting Value of Voltage at end of current pulse
- Replies: 3
- Views: 30837
Code: Getting Value of Voltage at end of current pulse
Hi, I am new to NEURON and am trying to code a model in Python of a Section with current injected into it under current clamp. I am trying to plot a graph of the voltage at the end of the current pulse versus the amplitude of the current pulse for various current amplitudes. So far my voltages are s...
- Wed Jul 12, 2023 10:22 pm
- Forum: Other questions
- Topic: ImportError when importing the unit 'nA' from neuron.units
- Replies: 1
- Views: 27126
ImportError when importing the unit 'nA' from neuron.units
Hello, After I run a section of code in a Google Colab notebook I am getting an error that reads: ImportError: cannot import name 'nA' from 'neuron.units' (/usr/local/lib/python3.10/dist-packages/neuron/units.py) -Somehow I cannot access any subdirectory in the folder /usr/local/ to attempt to find ...
- Tue Jul 04, 2023 4:01 pm
- Forum: Other questions
- Topic: Code to Plot Family of Voltage Traces, Current Steps and I/V Graph
- Replies: 3
- Views: 27774
Re: Code to Plot Family of Voltage Traces, Current Steps and I/V Graph
-Just wondering if my question is clear or not?
- Fri Jun 30, 2023 11:18 am
- Forum: Other questions
- Topic: Code to Plot Family of Voltage Traces, Current Steps and I/V Graph
- Replies: 3
- Views: 27774
Re: Code to Plot Family of Voltage Traces, Current Steps and I/V Graph
-To be more clear, I have an additional note: I am thinking about adding a new voltage trace to the same voltage graph for each current injection while still keeping the previous traces in the voltage graph. I am also thinking about doing this for current injections where each time a current step is...
- Thu Jun 29, 2023 1:01 pm
- Forum: Other questions
- Topic: Code to Plot Family of Voltage Traces, Current Steps and I/V Graph
- Replies: 3
- Views: 27774
Code to Plot Family of Voltage Traces, Current Steps and I/V Graph
Hello NEURON contributors and users, I am new to NEURON and have been coding in HOC and Python. I am wondering if there is a way to code for generating the three types of plots below for a model of a Section with current injected into it under current clamp: 1. Plotting a family of voltage traces ov...
- Sun Jun 18, 2023 11:05 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: NameError: Name Not Defined for Distributed Mechanism
- Replies: 3
- Views: 30482
NameError: Name Not Defined for Distributed Mechanism
Hello NEURON users and contributors, I am new to NEURON with no NMODL experience, but am wondering if there are any suggestions or comments on how to fix an error I have been getting: After being given the mod file for a distributed mechanism, I am trying to insert a user-defined distributed mechani...