![]() |
NEURON
|
Section to segment mapping. More...
#include <nrnsection_mapping.hpp>
Public Member Functions | |
SecMapping ()=default | |
SecMapping (SectionType t) | |
size_t | num_sections () const noexcept |
return total number of sections in section list More... | |
size_t | num_compartments () const |
return number of compartments in section list More... | |
void | add_segment (int sec, int seg) |
add section to associated segment More... | |
Public Attributes | |
SectionType | type |
name of section list More... | |
std::unordered_map< int, std::vector< int > > | secmap |
map of section and associated compartments More... | |
Section to segment mapping.
For a section list (of a particulat type), store mapping of section to compartments a section is a arbitrary user classification to recognize some compartments (ex: api, soma, dend, axon)
Definition at line 33 of file nrnsection_mapping.hpp.
|
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.
|
inline |
return number of compartments in section list
Definition at line 51 of file nrnsection_mapping.hpp.
|
inlinenoexcept |
return total number of sections in section list
Definition at line 46 of file nrnsection_mapping.hpp.
std::unordered_map<int, std::vector<int> > coreneuron::SecMapping::secmap |
map of section and associated compartments
Definition at line 38 of file nrnsection_mapping.hpp.
SectionType coreneuron::SecMapping::type |
name of section list
Definition at line 35 of file nrnsection_mapping.hpp.