Search found 7 matches
- Fri May 23, 2025 8:48 am
- Forum: NEURON hacks
- Topic: AlphaSynapse dynamics
- Replies: 1
- Views: 590
AlphaSynapse dynamics
Hello NEURON community: This post talks about the underlying equation of AlphaSynapse. https://www.sas.upenn.edu/LabManuals/BBB251/NIA/NEUROLAB/HELP/alphasyn.htm I am wondering if the "v", postsynaptic voltage, is constant (and set as resting voltage) or should change during current inject...
- Wed Jul 03, 2024 9:56 pm
- Forum: The GUI
- Topic: Problem with h.PlotShape
- Replies: 7
- Views: 36400
Re: Problem with h.PlotShape
Actually, I ignored the PlotShape function and ran the ring network tutorial and suddenly everything worked out fine. I don't know what happened, but it is worth a try.
- Wed Jul 03, 2024 1:52 pm
- Forum: The GUI
- Topic: Problem plotting PlotShape
- Replies: 16
- Views: 95879
Re: Problem plotting PlotShape
doesn't produce an error message for me. You may have discovered a bug. We'll look into this further. It seems to be a pointer related issue in C/C++ of NEURON package and there is no way users can debug on python wrapper. Is it possible for you to write a python version of PlotShape function and u...
- Mon Jul 01, 2024 3:12 pm
- Forum: The GUI
- Topic: Problem with h.PlotShape
- Replies: 7
- Views: 36400
Re: Problem with h.PlotShape
And I was able to implement this tutorial's code with the final plotting:
https://nrn.readthedocs.io/en/8.2.4/tut ... asics.html
So I assume the problem is not my system not displaying graph or matplotlib malfunctional.
https://nrn.readthedocs.io/en/8.2.4/tut ... asics.html
So I assume the problem is not my system not displaying graph or matplotlib malfunctional.
- Mon Jul 01, 2024 3:07 pm
- Forum: The GUI
- Topic: Problem with h.PlotShape
- Replies: 7
- Views: 36400
Re: Problem with h.PlotShape
I know my Ubuntu can show plots. In the first post, I used import matplotlib matplotlib.use('QT5Agg') For my code to display plot. I was asking if your alternative method need anything like this. If not, the alternative code you suggested also does not work for me. Sorry for the confusion. There is ...
- Sat Jun 29, 2024 9:41 pm
- Forum: The GUI
- Topic: Problem with h.PlotShape
- Replies: 7
- Views: 36400
Re: Problem with h.PlotShape
Hi Ted: I tried, here is the code from neuron import h from neuron.units import ms, mV, µm h.load_file("stdrun.hoc") import plotly class BallAndStick: def __init__ (self, gid): self._gid = gid # identifier gid self.soma = h.Section(name="soma", cell=self) self.dend = h.Section(na...
- Tue Jun 25, 2024 5:07 pm
- Forum: The GUI
- Topic: Problem with h.PlotShape
- Replies: 7
- Views: 36400
Problem with h.PlotShape
Hi NEURON community: I am experiencing issues with h.PlotShape. Following the tutorial https://nrn.readthedocs.io/en/8.2.4/tutorials/ball-and-stick-1.html I wrote this code on Ubuntu 22.04 python 3.10.12 and NEURON 8.2.4 (in a virtual environment): from neuron import h from neuron.units import ms, m...