SpikeStream Application Library  0.2
spikestream::AbstractSpectrogramData Class Reference

#include <AbstractSpectrogramData.h>

List of all members.

Public Member Functions

 AbstractSpectrogramData (const AnalysisInfo &analysisInfo)
virtual ~AbstractSpectrogramData ()
virtual QwtRasterData * copy () const =0
virtual QwtDoubleInterval range () const
virtual void showAllTimeSteps (bool show)
virtual void showSelectedTimeStep (unsigned int timeStep)
virtual void setShowNeuronIDs (bool show)
virtual double value (double x, double y) const

Protected Member Functions

void addAllTimeStepsMap (const QList< unsigned int > &neurIDList)
void addTimeStep (unsigned int timeStep, const QList< unsigned int > &neurIDList)
virtual void loadData ()=0
virtual void printData ()
virtual void reset ()

Protected Attributes

AnalysisInfo analysisInfo
QHash< unsigned int, QHash
< unsigned int, QHash
< unsigned int, double > > > 
timeStepDataMap
unsigned int minNeuronID
unsigned int maxNeuronID
int selectedTimeStep
bool allTimeSteps
unsigned int allTimeStepsKey
bool showNeuronIDs

Detailed Description

Abstract spectrogram class that can be used to display information spectrograms for different types of analysis.

Definition at line 17 of file AbstractSpectrogramData.h.


Constructor & Destructor Documentation

AbstractSpectrogramData::AbstractSpectrogramData ( const AnalysisInfo &  analysisInfo)

Constructor

Definition at line 16 of file AbstractSpectrogramData.cpp.

Destructor

Definition at line 24 of file AbstractSpectrogramData.cpp.


Member Function Documentation

void AbstractSpectrogramData::addAllTimeStepsMap ( const QList< unsigned int > &  neurIDList) [protected]

Calculates the average over all time steps

Definition at line 129 of file AbstractSpectrogramData.cpp.

void AbstractSpectrogramData::addTimeStep ( unsigned int  timeStep,
const QList< unsigned int > &  neurIDList 
) [protected]

Adds a time step to the data map with entries for all the neuron ids

Definition at line 111 of file AbstractSpectrogramData.cpp.

QwtRasterData * AbstractSpectrogramData::copy ( ) const [pure virtual]

Inherited from QwtRasterData

Definition at line 34 of file AbstractSpectrogramData.cpp.

virtual void spikestream::AbstractSpectrogramData::loadData ( ) [protected, pure virtual]
void AbstractSpectrogramData::printData ( ) [protected, virtual]

Prints out the data

Definition at line 173 of file AbstractSpectrogramData.cpp.

QwtDoubleInterval AbstractSpectrogramData::range ( ) const [virtual]

Inherited from QwtRasterData

Definition at line 40 of file AbstractSpectrogramData.cpp.

void AbstractSpectrogramData::reset ( ) [protected, virtual]

Resets the data

Definition at line 190 of file AbstractSpectrogramData.cpp.

void AbstractSpectrogramData::setShowNeuronIDs ( bool  show) [virtual]

Controls whether neuron ids or the numbers 1,2,...

Definition at line 58 of file AbstractSpectrogramData.cpp.

void AbstractSpectrogramData::showAllTimeSteps ( bool  show) [virtual]

Controls whether the average over all time steps is shown

Definition at line 52 of file AbstractSpectrogramData.cpp.

void AbstractSpectrogramData::showSelectedTimeStep ( unsigned int  timeStep) [virtual]

Sets the current time step that is being plotted

Definition at line 46 of file AbstractSpectrogramData.cpp.

double AbstractSpectrogramData::value ( double  x,
double  y 
) const [virtual]

Inherited from QwtRasterData

Definition at line 69 of file AbstractSpectrogramData.cpp.


Member Data Documentation

Average over all time steps is shown

Definition at line 48 of file AbstractSpectrogramData.h.

Key pointing to unused time step value

Definition at line 51 of file AbstractSpectrogramData.h.

Information about the analysis

Definition at line 31 of file AbstractSpectrogramData.h.

Maximum neuron id to set the bounding rectangle

Definition at line 42 of file AbstractSpectrogramData.h.

Minimum neuron id to set the bounding rectangle

Definition at line 39 of file AbstractSpectrogramData.h.

Current time step that is being displayed

Definition at line 45 of file AbstractSpectrogramData.h.

Neuron IDs are displayed instead of numbers from 1

Definition at line 54 of file AbstractSpectrogramData.h.

QHash<unsigned int, QHash<unsigned int, QHash<unsigned int, double> > > spikestream::AbstractSpectrogramData::timeStepDataMap [protected]

Holds the processed data from the analysis. Key1 is the time step, key2 is the first neuron id key3 is the second neuron id data is the integration between the neurons

Definition at line 36 of file AbstractSpectrogramData.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Friends Defines