26 #ifndef PATTERNSTIMULATOR_H_ 27 #define PATTERNSTIMULATOR_H_ 50 std::vector<type_pattern> * patterns;
56 std::ifstream timeseriesfile;
virtual ~PatternStimulator()
Definition: PatternStimulator.cpp:44
Abstract base class for all Monitor objects.
Definition: Monitor.h:47
PatternStimulator(NeuronGroup *target, string filename, string patfile="", AurynFloat scale=1, NeuronID maximum_patterns=10)
Definition: PatternStimulator.cpp:30
NeuronGroup * dst
Definition: PatternStimulator.h:69
AurynFloat get_scale()
Definition: PatternStimulator.cpp:206
void set_scale(AurynFloat scale)
Definition: PatternStimulator.cpp:202
void init()
Standard initializer to be called by the constructor.
Definition: Device.cpp:32
Definition: ABSConnection.h:38
AurynFloat AurynState
Type for Auryn state variables (default single precision since it needs to be compatible with auryn_v...
Definition: auryn_definitions.h:160
void load_1_pattern()
Definition: PatternStimulator.cpp:115
float AurynFloat
Low precision floating point datatype.
Definition: auryn_definitions.h:157
void load_patterns(string filename)
Definition: PatternStimulator.cpp:131
void propagate()
Definition: PatternStimulator.cpp:75
Stimulator class to inject timeseries of currents to patterns (subpopulations) of neurons...
Definition: PatternStimulator.h:44
Abstract base class for all neuron groups.
Definition: NeuronGroup.h:45
Default AurynVectorFloat class for performance computation.
Definition: AurynVector.h:796
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
unsigned int NeuronID
NeuronID is an unsigned integeger type used to index neurons in Auryn.
Definition: auryn_definitions.h:151