26 #ifndef STATEMONITOR_H_ 27 #define STATEMONITOR_H_
Default Auryn vector template.
Definition: auryn_definitions.h:327
Abstract base class for all Monitor objects.
Definition: Monitor.h:47
Abstract base class of all objects producing spikes.
Definition: SpikingGroup.h:67
double AurynDouble
Higher precision floating point datatype.
Definition: auryn_definitions.h:158
Abstract base class of synaptic traces.
Definition: Trace.h:36
SpikingGroup * src
The source SpikingGroup to record from.
Definition: StateMonitor.h:44
void init()
Standard initializer to be called by the constructor.
Definition: Device.cpp:32
Definition: ABSConnection.h:38
AurynTime ssize
The step size (sampling interval) in units of auryn_timestep.
Definition: StateMonitor.h:57
AurynFloat AurynState
Type for Auryn state variables (default single precision since it needs to be compatible with auryn_v...
Definition: auryn_definitions.h:160
StateMonitor(SpikingGroup *source, NeuronID id, string statename, string filename, AurynDouble sampling_interval=auryn_timestep)
Standard constructor.
Definition: StateMonitor.cpp:31
double auryn_timestep
Simulation timestep in seconds.
Definition: auryn_definitions.cpp:31
void set_stop_time(AurynDouble time=10.0)
Set an absolute time when to stop recording.
Definition: StateMonitor.cpp:141
NeuronID nid
The source neuron id to record from.
Definition: StateMonitor.h:54
AurynState * target_variable
Target variable.
Definition: StateMonitor.h:47
AurynState lastder
Definition: StateMonitor.h:51
void record_for(AurynDouble time=10.0)
Sets relative time at which to stop recording.
Definition: StateMonitor.cpp:153
Default AurynVectorFloat class for performance computation.
Definition: AurynVector.h:796
void execute()
Definition: StateMonitor.cpp:118
void set_step_size(int step=1)
Sets the step size.
Definition: StateMonitor.cpp:147
NeuronID AurynTime
Defines Auryns discrete time unit of the System clock. Change to AurynLong if 120h of simtime are not...
Definition: auryn_definitions.h:155
AurynState lastval
Last value (used for compression)
Definition: StateMonitor.h:50
virtual ~StateMonitor()
Definition: StateMonitor.cpp:107
Records from an arbitray state vector of one unit from the source SpikingGroup to a file...
Definition: StateMonitor.h:40
AurynTime t_stop
Defines the maximum recording time in AurynTime to save space.
Definition: StateMonitor.h:60
unsigned int NeuronID
NeuronID is an unsigned integeger type used to index neurons in Auryn.
Definition: auryn_definitions.h:151
bool enable_compression
Switch to enable/disable output compression.
Definition: StateMonitor.h:75