Search found 2 matches

by jared
Thu Aug 22, 2024 3:09 pm
Forum: NEURON + Python
Topic: Type annotation of NEURON objects
Replies: 3
Views: 44524

Type annotation of NEURON objects

I may have a misunderstanding, but I'm trying to type annotate for functions I have created that accept NEURON objects as arguments (SectionList, Section, etc.). I'd assume it'd look something like: from neuron.h import SectionList, Section def parentlist(section: Section) -> SectionList: ... but th...
by jared
Tue Jun 11, 2024 1:56 pm
Forum: OS X
Topic: NEURON-nightly and compiling mod files
Replies: 1
Views: 32427

NEURON-nightly and compiling mod files

Hi, all. I'm relatively new to NEURON. I am currently using NEURON version 8.2.4, but am interested in upgrading to the current nightly version, as it offers 3D diameter plotting in matplotlib and plotly (https://www.neuron.yale.edu/phpBB/viewtopic.php?t=4677). However, after upgrading (pip install ...