|
SpikeStream Nemo Plugin
0.2
|
#include <RasterModel.h>
Public Member Functions | |
| RasterModel (QList< NeuronGroup * > &neuronGroupList) | |
| ~RasterModel () | |
| void | addData (const QList< unsigned > &firingNeuronIDs, unsigned timeStep) |
| QwtRasterData * | copy () const |
| int | getMinX () |
| int | getMaxX () |
| int | getMinY () |
| int | getMaxY () |
| QwtDoubleInterval | range () const |
| double | value (double x, double y) const |
Class holding spiking data that is used to plot the raster.
Definition at line 22 of file RasterModel.h.
| RasterModel::RasterModel | ( | QList< NeuronGroup * > & | neuronGroupList | ) |
Constructor
Definition at line 12 of file RasterModel.cpp.
Destructor
Definition at line 30 of file RasterModel.cpp.
| void RasterModel::addData | ( | const QList< unsigned > & | firingNeuronIDs, |
| unsigned | timeStep | ||
| ) |
Adds data to the model. This will erase the oldest bit of data if the time step is greater than the maximum.
Definition at line 41 of file RasterModel.cpp.
| QwtRasterData * RasterModel::copy | ( | ) | const |
Definition at line 70 of file RasterModel.cpp.
| int RasterModel::getMaxX | ( | ) |
Returns the maximum value of X
Definition at line 82 of file RasterModel.cpp.
| int RasterModel::getMaxY | ( | ) |
Returns the maximum value of Y
Definition at line 94 of file RasterModel.cpp.
| int RasterModel::getMinX | ( | ) |
Returns the minimum value of X
Definition at line 76 of file RasterModel.cpp.
| int RasterModel::getMinY | ( | ) |
Returns the minimum value of Y
Definition at line 88 of file RasterModel.cpp.
| QwtDoubleInterval RasterModel::range | ( | ) | const |
Definition at line 114 of file RasterModel.cpp.
| double RasterModel::value | ( | double | x, |
| double | y | ||
| ) | const |
Definition at line 100 of file RasterModel.cpp.