Search found 8 matches
- Thu Sep 01, 2022 3:39 pm
- Forum: NEURON + Python
- Topic: Accessing Pointers instantiated through Python
- Replies: 6
- Views: 28792
Re: Accessing Pointers instantiated through Python
Thanks for the clarification Robert, perhaps then I'm looking in the wrong place -- instead of querying the pointer for targets and sources it sounds like I should instead refer to the double pointers that are being assigned The equal sign notation for assigning pointers is much clearer, thanks for ...
- Wed Aug 24, 2022 1:01 pm
- Forum: NEURON + Python
- Topic: Accessing Pointers instantiated through Python
- Replies: 6
- Views: 28792
Re: Accessing Pointers instantiated through Python
Thanks Ted, my intentions for programmatically accessing pointers are primarily for model inspection and documentation purposes -- I want to keep track of all variables that are being targeted as well as their sources The context is that I've built on previous work to develop a set of helper Python ...
- Tue Aug 23, 2022 1:00 pm
- Forum: NEURON + Python
- Topic: Accessing Pointers instantiated through Python
- Replies: 6
- Views: 28792
Re: Accessing Pointers instantiated through Python
Curious if the moderators can point me in a direction here, or advise on if it is more appropriate to move this post to another part of the forum
Feedback would be greatly appreciated
-- Omar
Feedback would be greatly appreciated
-- Omar
- Mon Aug 22, 2022 12:38 pm
- Forum: NEURON + Python
- Topic: Accessing Pointers instantiated through Python
- Replies: 6
- Views: 28792
Accessing Pointers instantiated through Python
Dear forum, I'm looking to programmatically access NEURON Pointers that were instantiated using "h.setpointer" in Python Where do Pointers constructed by "h.setpointer" live, and what's the best way to access them? For example, let's say I have two sections (secA and secB) that a...
- Wed Aug 10, 2022 3:44 pm
- Forum: NEURON + Python
- Topic: POINTER is not thread safe
- Replies: 6
- Views: 30941
Re: POINTER is not thread safe
Ah, is the compilation output giving any clues about why it might be stuck?
Yes, I think it's fair to ignore the thread-safe warning if there isn't plans to use multi-threading
Sure, we can take a look at the equations to see if they match up - I'll share my email with you in a direct message
Yes, I think it's fair to ignore the thread-safe warning if there isn't plans to use multi-threading
Sure, we can take a look at the equations to see if they match up - I'll share my email with you in a direct message
- Wed Aug 10, 2022 11:54 am
- Forum: NEURON + Python
- Topic: POINTER is not thread safe
- Replies: 6
- Views: 30941
Re: POINTER is not thread safe
Hi Alexandra, The first error of "Use of POINTER is not thread-safe" is due to the use of Pointers "vpre" and "vpost", and is only a concern when enabling multi-threaded simulations. If multi-threading is not being used, then this error can be safely ignored and nrnivmo...
- Tue Mar 16, 2021 7:35 pm
- Forum: NEURON + Python
- Topic: Kernel dies in Jupyter notebook when attempting to import NEURON
- Replies: 3
- Views: 8759
Re: Kernel dies in Jupyter notebook when attempting to import NEURON
The mod files themselves had different names but shared the same SUFFIX.
NEURON gave the appropriate error message when I tried to import NEURON in python from the command line.
NEURON gave the appropriate error message when I tried to import NEURON in python from the command line.
- Mon Mar 15, 2021 5:57 pm
- Forum: NEURON + Python
- Topic: Kernel dies in Jupyter notebook when attempting to import NEURON
- Replies: 3
- Views: 8759
Kernel dies in Jupyter notebook when attempting to import NEURON
Description: When attempting to import h or gui from the neuron module in a Jupyter Notebook, the Jupyter kernel dies. Code that raises error: from neuron import h from neuron import h, gui Error message returned by Jupyter: Kernel Restarting The kernel for CWD/notebook.ipynb appears to have died. I...