nsol
0.4.1
Nsol - Neuroscience Objects Library
|
This class allows to compute stats for sections. More...
#include <MiniColumnStats.h>
Public Member Functions | |
MiniColumnStats (const ColumnPtr column=nullptr, const unsigned short id=0) | |
float | getStat (TMiniColumnStat stat, TAggregation agg=TOTAL) const |
virtual MiniColumnStats * | stats (void) |
Returns object as MiniColumnStats. More... | |
Public Member Functions inherited from nsol::MiniColumn | |
virtual MiniColumnPtr | asMiniColumn (void) |
MiniColumn (const ColumnPtr column=nullptr, const unsigned short id=0) | |
Default constructor. More... | |
MiniColumn (const MiniColumn &other) | |
Copy constructor. More... | |
virtual | ~MiniColumn () |
Default destructur. | |
unsigned short & | id (void) |
Method to get-set mini column id. More... | |
unsigned short | id (void) const |
Method to get the column id as const. More... | |
void | column (ColumnPtr column) |
Method to set the column of this minicolumn. More... | |
ColumnPtr | column (void) const |
Method to get the column of this minicolumn. More... | |
NeuronPtr | addNeuron (NeuronPtr neuron) |
Method to add a neuron. More... | |
bool | removeNeuron (NeuronPtr neuron) |
Method to remove a neuron. More... | |
Neurons & | neurons (void) |
Method to get neurons. More... | |
Neurons | neurons (void) const |
Method to get neurons. More... | |
void | clearNeurons (void) |
Method to clear the neurons container. | |
unsigned int | numberOfNeurons (bool all=true, Neuron::TMorphologicalType neuronType=Neuron::PYRAMIDAL, unsigned int layer=0) const |
Method to get the number of neurons in the minicolumn. More... | |
MiniColumn & | operator= (const MiniColumn &other) |
bool | operator== (MiniColumn &other) const |
bool | operator!= (MiniColumn &other) const |
Public Member Functions inherited from nsol::Object | |
virtual ColumnPtr | asColumn (void) |
virtual NeuronPtr | asNeuron (void) |
virtual NeuronMorphologyPtr | asNeuronMorphology (void) |
virtual SectionPtr | asSection (void) |
virtual NodePtr | asNode (void) |
virtual ObjectWithProperties * | properties (void) |
virtual ObjectPtr | create (void) |
Additional Inherited Members | |
Protected Attributes inherited from nsol::MiniColumn | |
unsigned short | _id |
id of this minicolumn | |
ColumnPtr | _column |
Pointer to the column this minicolumn belogns to. | |
Neurons | _neurons |
! Container of the neurons of this minicolumn | |
This class allows to compute stats for sections.
Using this class instead of MiniColumn when constructing the hierarchy allows to call the method stats from base MiniColumn class and get the corresponding volume, surface and length.
Example:
Definition at line 39 of file MiniColumnStats.h.
|
virtual |
Returns object as MiniColumnStats.
Reimplemented from nsol::MiniColumn.