Auryn simulator
v0.8.1-206-gb56e451
Plastic Spiking Neural Network Simulator
|
Monitor class to record population firing rates. More...
#include <BurstRateMonitor.h>
Public Member Functions | |
BurstRateMonitor (SpikingGroup *source, string filename="", AurynDouble binsize=0.1) | |
Default Constructor. More... | |
virtual | ~BurstRateMonitor () |
Default Destructor. More... | |
void | set_tau (double tau) |
Sets burst detector time constant. More... | |
void | execute () |
Implementation of necessary execute() function. More... | |
Public Attributes | |
AurynStateVector * | burst_state |
Burst state. More... | |
Protected Member Functions | |
void | init (SpikingGroup *source, string filename, AurynDouble binsize) |
Default init method. More... | |
virtual void | virtual_serialize (boost::archive::binary_oarchive &ar, const unsigned int version) |
virtual void | virtual_serialize (boost::archive::binary_iarchive &ar, const unsigned int version) |
Protected Member Functions inherited from auryn::Monitor | |
virtual void | open_output_file (std::string filename) |
virtual void | flush () |
Flush to file. More... | |
Monitor (std::string filename, std::string default_extension="dat") | |
Standard constructor with file name. More... | |
Monitor () | |
Constructor which does not open a text file for output. More... | |
std::string | generate_filename (std::string name_hint="") |
Generates a default filename from the device ID. More... | |
virtual | ~Monitor () |
Standard destructor. More... | |
Protected Member Functions inherited from auryn::Device | |
void | init () |
Standard initializer to be called by the constructor. More... | |
Device () | |
Standard constructor. More... | |
void | set_name (std::string s) |
Set device name. More... | |
std::string | get_name () |
Get device name. More... | |
int | get_id () |
Get numeric device id. More... | |
virtual | ~Device () |
Standard destructor. More... | |
virtual void | evolve () |
Protected Attributes | |
SpikingGroup * | src |
The source SpikingGroup. More... | |
Protected Attributes inherited from auryn::Monitor | |
std::ofstream | outfile |
std::string | fname |
std::string | default_file_extension |
bool | active |
Standard active switch. More... | |
Protected Attributes inherited from auryn::Device | |
std::string | device_name |
Identifying name for device. More... | |
bool | active |
Standard active switch. More... | |
Monitor class to record population firing rates.
Instances of this class record the population firing rate of the src SpikingGroup assigned. Binning is done discretely in bins of size bsize that is directly transformed in discrete AurynTime steps. The default
BurstRateMonitor::BurstRateMonitor | ( | SpikingGroup * | source, |
std::string | filename = "" , |
||
AurynDouble | binsize = 0.1 |
||
) |
Default Constructor.
|
virtual |
Implementation of necessary execute() function.
Reimplemented from auryn::Device.
|
protected |
Default init method.
void BurstRateMonitor::set_tau | ( | double | tau | ) |
Sets burst detector time constant.
|
protectedvirtual |
Functions necesssary for serialization and loading saving to netstate files.
Reimplemented from auryn::Monitor.
|
protectedvirtual |
Reimplemented from auryn::Monitor.
AurynStateVector* auryn::BurstRateMonitor::burst_state |
Burst state.
|
protected |
The source SpikingGroup.