When I instantiating a morphology in NEURON, is there a way of getting section types (or segment types) in the same format as in the swc file? Basically, I would like to be able to have one of the following integer values for a give section/segment:
type of neuronal compartment:
0 - undefined
1 - soma
2 - axon
3 - basal dendrite
4 - apical dendrite
Currently, to get the section type I use .hname() function, but then have to parse the string to get the relevant information. It works but seems like a backdoor approach to me. My goal is to save segment coordinates but also the segment type to disk for a later analysis.
Thanks
Accessing section type (or segment type) information
When Python is the interpreter, what is a good
design for the interface to the basic NEURON
concepts.
design for the interface to the basic NEURON
concepts.
Moderator: hines
Jump to
- The NEURON Forum
- ↳ Goals and Policies
- ↳ Suggestions and Feedback
- ↳ NEURON Announcements
- NEURON installation and configuration
- ↳ OS X
- ↳ MSWin
- ↳ UNIX/Linux
- NEURON design
- ↳ NEURON + Python
- ↳ Reaction-diffusion in NEURON
- Making and using models with NEURON
- ↳ NEURON hacks
- ↳ Hot tips
- ↳ Getting started
- ↳ The GUI
- ↳ Anatomically detailed models
- ↳ Adding new mechanisms and functions to NEURON
- ↳ Modeling networks
- ↳ Optimization
- ↳ Parallel NEURON
- ↳ Other questions
- Tools of interest to NEURON users
- ↳ HNN: Human Neocortical Neurosolver
- ↳ LFPsim
- ↳ NetPyNE
- ↳ SimAgent
- ↳ SimTracker
- ↳ Other tools
- NEURON in neuroscience education
- ↳ From Computer to Brain
- ↳ Neurons in Action
- ↳ SWIMMY
- ↳ Other ways of using NEURON in neuroscience education
- Data sharing
- ↳ ModelDB and other online sources of models
- ↳ Specific models
- ↳ Policies and procedures
- Computational neuroscience in general
- ↳ General questions and discussions about computational neuroscience
- ↳ Employment and educational opportunities