![]() |
NEURON
|
Compartment mapping information for a cell. More...
#include <nrnsection_mapping.hpp>
Public Member Functions | |
CellMapping (int g) | |
int | num_sections () const |
total number of sections in a cell More... | |
int | num_compartments () const |
return number of compartments in a cell More... | |
int | num_electrodes () const |
return the number of electrodes in the lfp_factors map More... | |
size_t | size () const noexcept |
number of section lists More... | |
void | add_sec_map (std::shared_ptr< SecMapping > s) |
add new SecMapping More... | |
std::shared_ptr< SecMapping > | get_seclist_mapping (const SectionType type) const |
return section list mapping with given type More... | |
size_t | get_seclist_compartment_count (const SectionType type) const |
return compartment count for specific section list with given type More... | |
size_t | get_seclist_section_count (const SectionType type) const |
return segment count for specific section list with given type More... | |
void | add_segment_lfp_factor (const int segment_id, std::vector< double > &factors) |
add the lfp electrode factors of a segment_id More... | |
Public Attributes | |
int | gid |
gid of a cell More... | |
std::vector< std::shared_ptr< SecMapping > > | sec_mappings |
list of section lists (like soma, axon, apic) More... | |
std::unordered_map< int, std::vector< double > > | lfp_factors |
map containing segment ids an its respective lfp factors More... | |
Compartment mapping information for a cell.
A cell can have multiple section list types like soma, axon, apic, dend etc. User will add these section lists using HOC interface.
Definition at line 69 of file nrnsection_mapping.hpp.
|
inline |
Definition at line 79 of file nrnsection_mapping.hpp.
|
inline |
add new SecMapping
Definition at line 117 of file nrnsection_mapping.hpp.
|
inline |
add the lfp electrode factors of a segment_id
Definition at line 151 of file nrnsection_mapping.hpp.
|
inline |
return compartment count for specific section list with given type
Definition at line 134 of file nrnsection_mapping.hpp.
|
inline |
return section list mapping with given type
Definition at line 122 of file nrnsection_mapping.hpp.
|
inline |
return segment count for specific section list with given type
Definition at line 142 of file nrnsection_mapping.hpp.
|
inline |
return number of compartments in a cell
Definition at line 93 of file nrnsection_mapping.hpp.
|
inline |
return the number of electrodes in the lfp_factors map
Definition at line 103 of file nrnsection_mapping.hpp.
|
inline |
total number of sections in a cell
Definition at line 83 of file nrnsection_mapping.hpp.
|
inlinenoexcept |
number of section lists
Definition at line 112 of file nrnsection_mapping.hpp.
int coreneuron::CellMapping::gid |
gid of a cell
Definition at line 71 of file nrnsection_mapping.hpp.
std::unordered_map<int, std::vector<double> > coreneuron::CellMapping::lfp_factors |
map containing segment ids an its respective lfp factors
Definition at line 77 of file nrnsection_mapping.hpp.
std::vector<std::shared_ptr<SecMapping> > coreneuron::CellMapping::sec_mappings |
list of section lists (like soma, axon, apic)
Definition at line 74 of file nrnsection_mapping.hpp.