NEURON
SecMapping Struct Reference

Section to segment mapping. More...

#include <nrnsection_mapping.h>

Public Member Functions

 SecMapping (int n, std::string s)
 
size_t size ()
 

Public Attributes

int nsec
 number of sections in section list More...
 
std::string name
 name of section list More...
 
std::vector< int > segments
 list of segments More...
 
std::vector< int > sections
 list sections associated with each segment More...
 
std::vector< double > seglfp_factors
 list of lfp factors associated with each segment More...
 
int num_electrodes
 Number of electrodes per segment. More...
 

Detailed Description

Section to segment mapping.

For a section list (of particulat type), store mapping of section to segment. Note that the section is repeated when there are multiple segments in a section.

Definition at line 12 of file nrnsection_mapping.h.

Constructor & Destructor Documentation

◆ SecMapping()

SecMapping::SecMapping ( int  n,
std::string  s 
)
inline

Definition at line 31 of file nrnsection_mapping.h.

Member Function Documentation

◆ size()

size_t SecMapping::size ( )
inline

Definition at line 35 of file nrnsection_mapping.h.

Member Data Documentation

◆ name

std::string SecMapping::name

name of section list

Definition at line 17 of file nrnsection_mapping.h.

◆ nsec

int SecMapping::nsec

number of sections in section list

Definition at line 14 of file nrnsection_mapping.h.

◆ num_electrodes

int SecMapping::num_electrodes

Number of electrodes per segment.

Definition at line 29 of file nrnsection_mapping.h.

◆ sections

std::vector<int> SecMapping::sections

list sections associated with each segment

Definition at line 23 of file nrnsection_mapping.h.

◆ seglfp_factors

std::vector<double> SecMapping::seglfp_factors

list of lfp factors associated with each segment

Definition at line 26 of file nrnsection_mapping.h.

◆ segments

std::vector<int> SecMapping::segments

list of segments

Definition at line 20 of file nrnsection_mapping.h.


The documentation for this struct was generated from the following file: