Code to Plot Family of Voltage Traces, Current Steps and I/V Graph
Posted: Thu Jun 29, 2023 1:01 pm
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 over time for various current steps in current clamp all in one graph.
2. Plotting the family of injected current pulses over time that generated the voltage traces all in one graph.
3. Plotting a graph of the voltage at the end of the current pulse versus the amplitude of the current pulse.
I am not sure how to get started on coding for these simulations.
Thank you!
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 over time for various current steps in current clamp all in one graph.
2. Plotting the family of injected current pulses over time that generated the voltage traces all in one graph.
3. Plotting a graph of the voltage at the end of the current pulse versus the amplitude of the current pulse.
I am not sure how to get started on coding for these simulations.
Thank you!