|
CoreNEURON
|
Section to segment mapping. More...
Section to segment mapping.
For a section list (of a particulat type), store mapping of section to segments a section is a arbitrary user classification to recognize some segments (ex: api, soma, dend, axon)
Definition at line 33 of file nrnsection_mapping.hpp.
#include <nrnsection_mapping.hpp>
Public Member Functions | |
| SecMapping ()=default | |
| SecMapping (std::string s) | |
| size_t | num_sections () const noexcept |
| return total number of sections in section list More... | |
| size_t | num_segments () const |
| return number of segments in section list More... | |
| void | add_segment (int sec, int seg) |
| add section to associated segment More... | |
Public Attributes | |
| std::string | name |
| name of section list More... | |
| secseg_map_type | secmap |
| map of section and associated segments More... | |
|
default |
|
inlineexplicit |
Definition at line 42 of file nrnsection_mapping.hpp.
|
inline |
add section to associated segment
Definition at line 58 of file nrnsection_mapping.hpp.
|
inlinenoexcept |
return total number of sections in section list
Definition at line 46 of file nrnsection_mapping.hpp.
|
inline |
return number of segments in section list
Definition at line 51 of file nrnsection_mapping.hpp.
| std::string coreneuron::SecMapping::name |
name of section list
Definition at line 35 of file nrnsection_mapping.hpp.
| secseg_map_type coreneuron::SecMapping::secmap |
map of section and associated segments
Definition at line 38 of file nrnsection_mapping.hpp.