43 int nb_exc_neurons = 20000;
44 int nb_inh_neurons = nb_exc_neurons/4;
46 neurons_exc->
set_name(
"exc neurons");
50 neurons_inh->
set_name(
"inh neurons");
53 int nb_input_neurons = 5000;
54 float poisson_rate = 2.0;
59 float sparseness = 0.05;
void auryn_free()
Cleanly shuts down Auryn simulation environment.
Definition: auryn_global.cpp:107
void set_random(unsigned int seed=0)
Initializes vector elements with Gaussian of unit varince and a seed derived from system time if no s...
Definition: AurynVector.h:738
Standard Glutamatergic (excitatory) transmission.
Definition: auryn_definitions.h:139
NeuronID get_uid()
Get the unique ID of the class.
Definition: SpikingGroup.cpp:265
AurynStateVector * get_state_vector(std::string key)
Creates a new or returns an existing state vector by name.
Definition: SpikingGroup.cpp:781
The base class to create sparse random connections.
Definition: SparseConnection.h:66
bool stdp_active
Toggles stdp active/inactive. When inactive traces are still updated, but weights are not...
Definition: TripletConnection.h:153
Implements triplet STDP with metaplasticity as described by Pfister and Gerstner 2006.
Definition: TripletConnection.h:48
The standard Monitor object to record spikes from a SpikingGroup and write them to a text file...
Definition: SpikeMonitor.h:52
void set_tau_mem(AurynFloat taum)
Sets the membrane time constant.
Definition: IFGroup.cpp:154
System * sys
Global pointer to instance of System which needs to be initialized in every simulation main program...
Definition: auryn_global.cpp:37
A SpikingGroup that creates poissonian spikes with a given rate.
Definition: PoissonGroup.h:52
void set_master_seed(unsigned int seed=123)
Set master seed.
Definition: System.cpp:1014
Records the membrane potential from one unit from the source neuron group to a file.
Definition: VoltageMonitor.h:48
void set_online_rate_monitor_id(unsigned int id=0)
Sets the SpikingGroup used to display the rate estimate in the progressbar.
Definition: System.cpp:939
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 record_for(AurynDouble time=10.0)
Sets relative time at which to stop recording.
Definition: StateMonitor.cpp:153
Standard Gabaergic (inhibitory) transmission.
Definition: auryn_definitions.h:140
string fn(std::string extension)
Format output file name.
Definition: System.cpp:689
void set_name(std::string s)
Set connection name.
Definition: SpikingGroup.cpp:507
Monitor class to record population firing rates.
Definition: PopulationRateMonitor.h:46
void set_transmitter(AurynStateVector *ptr)
Same as set_target.
Implements the standard integrate and file model used in Auryn.
Definition: IFGroup.h:47