38 string simname =
"stim_group";
39 string logfile = simname;
54 stimgroup->
scale = 10.0;
void auryn_free()
Cleanly shuts down Auryn simulation environment.
Definition: auryn_global.cpp:107
Definition: auryn_definitions.h:148
void set_mean_on_period(AurynFloat period)
Set mean on period.
Definition: StimulusGroup.cpp:156
void set_baserate(AurynFloat baserate)
Sets the baserate that is the rate at 1 activity.
Definition: StimulusGroup.cpp:138
AurynFloat AurynWeight
Unit of synaptic weights.
Definition: auryn_definitions.h:159
Logger * logger
Global pointer to instance of Logger which needs to be initialized in every simulation main program...
Definition: auryn_global.cpp:36
void set_simulation_name(std::string name)
Sets the simulation name.
Definition: System.cpp:654
The standard Monitor object to record spikes from a SpikingGroup and write them to a text file...
Definition: SpikeMonitor.h:52
#define N
Definition: sim_stim_group.cpp:23
void auryn_abort(int errcode)
Terminates Auryn simulation abnormally.
Definition: auryn_global.cpp:113
System * sys
Global pointer to instance of System which needs to be initialized in every simulation main program...
Definition: auryn_global.cpp:37
Provides a poisson stimulus at random intervals in one or more predefined subsets of the group that a...
Definition: StimulusGroup.h:50
void auryn_init(int ac, char *av[], string dir, string simulation_name, string logfile_prefix, LogMessageType filelog_level, LogMessageType consolelog_level)
Initalizes MPI and the Auryn simulation environment.
Definition: auryn_global.cpp:84
void msg(std::string text, LogMessageType type=NOTIFICATION, bool global=false, int line=-1, std::string srcfile="")
Definition: Logger.cpp:74
bool binary_patterns
Switches to more efficient algorithm which ignores the gamma value.
Definition: StimulusGroup.h:151
string fn(std::string extension)
Format output file name.
Definition: System.cpp:689
AurynDouble background_rate
Play random Poisson noise with this rate on all channels when no stim is active.
Definition: StimulusGroup.h:164
bool background_during_stimulus
Switch for background firing during stimulus.
Definition: StimulusGroup.h:167
void set_mean_off_period(AurynFloat period)
Set mean quiet interval between consecutive stimuli.
Definition: StimulusGroup.cpp:150
AurynFloat scale
This is by how much the pattern gamma value is multiplied. The resulting value gives the x-times base...
Definition: StimulusGroup.h:148