SpikeStream Application Library
0.2
|
#include <SpikeRasterWidget.h>
Public Member Functions | |
SpikeRasterWidget (QList< NeuronGroup * > &neuronGroupList, QWidget *parent=0) | |
~SpikeRasterWidget () | |
void | addSpikes (const QList< unsigned > &firingNeuronIDs, int timeStep) |
void | setBlackAndWhite (bool on) |
Protected Member Functions | |
void | mouseDoubleClickEvent (QMouseEvent *event) |
void | paintEvent (QPaintEvent *event) |
void | resizeEvent (QResizeEvent *event) |
Plots raster of firing data.
Definition at line 17 of file SpikeRasterWidget.h.
SpikeRasterWidget::SpikeRasterWidget | ( | QList< NeuronGroup * > & | neuronGroupList, |
QWidget * | parent = 0 |
||
) |
Constructor
Definition at line 16 of file SpikeRasterWidget.cpp.
Destructor
Definition at line 71 of file SpikeRasterWidget.cpp.
void SpikeRasterWidget::addSpikes | ( | const QList< unsigned > & | firingNeuronIDs, |
int | timeStep | ||
) |
Adds spikes to the plot, filtered by the neuron groups that are being monitored.
Definition at line 81 of file SpikeRasterWidget.cpp.
void SpikeRasterWidget::mouseDoubleClickEvent | ( | QMouseEvent * | event | ) | [protected] |
Prompts user to save image as a file.
Definition at line 123 of file SpikeRasterWidget.cpp.
void SpikeRasterWidget::paintEvent | ( | QPaintEvent * | event | ) | [protected] |
Definition at line 144 of file SpikeRasterWidget.cpp.
void SpikeRasterWidget::resizeEvent | ( | QResizeEvent * | event | ) | [protected] |
Definition at line 158 of file SpikeRasterWidget.cpp.
void SpikeRasterWidget::setBlackAndWhite | ( | bool | on | ) |
Controls whether spikes are rendered in black or varying hues.
Definition at line 104 of file SpikeRasterWidget.cpp.