21 #ifndef PAIRINTERACTIONCONNECTION_H_ 22 #define PAIRINTERACTIONCONNECTION_H_ 24 #define PAIRINTERACTIONCON_WINDOW_MAX_SIZE 10000 //< Maximum STDP window size in auryn_timestep 70 const char * filename,
97 void set_exponential_window (
double Aplus = 1e-3,
double tau_plus = 20e-3,
double Aminus = -1e-3,
double tau_minus = 20e-3);
PairInteractionConnection(SpikingGroup *source, NeuronGroup *destination, const char *filename, AurynWeight maxweight=1., TransmitterType transmitter=GLUT)
Definition: PairInteractionConnection.cpp:72
STDP Connection class to simulate arbitrary nearest-neighbor STDP windows.
Definition: PairInteractionConnection.h:41
Standard Glutamatergic (excitatory) transmission.
Definition: auryn_definitions.h:139
AurynWeight dw_fwd(NeuronID post)
Definition: PairInteractionConnection.cpp:93
Abstract base class of all objects producing spikes.
Definition: SpikingGroup.h:67
AurynFloat * window_pre_post
Definition: PairInteractionConnection.h:63
void load_window_from_file(const char *filename, double scale=1.)
Loads STDP windows for pre-post and post-pre from ASCII file.
Definition: PairInteractionConnection.cpp:172
AurynFloat AurynWeight
Unit of synaptic weights.
Definition: auryn_definitions.h:159
AurynFloat * window_post_pre
Definition: PairInteractionConnection.h:64
virtual void propagate()
Internally used propagate method.
Definition: PairInteractionConnection.cpp:165
void propagate_forward()
Definition: PairInteractionConnection.cpp:109
AurynWeight dw_bkw(NeuronID pre)
Definition: PairInteractionConnection.cpp:101
AurynWeight w_max
Definition: PairInteractionConnection.h:50
virtual ~PairInteractionConnection()
Default destructor.
Definition: PairInteractionConnection.cpp:88
void propagate_backward()
Definition: PairInteractionConnection.cpp:140
void set_exponential_window(double Aplus=1e-3, double tau_plus=20e-3, double Aminus=-1e-3, double tau_minus=20e-3)
Sets STDP window to be bi-exponential.
Definition: PairInteractionConnection.cpp:250
Definition: ABSConnection.h:38
AurynTime * last_spike_pre
Definition: PairInteractionConnection.h:52
TransmitterType
Specifies the different transmitter types that Auryn knows.
Definition: auryn_definitions.h:138
float AurynFloat
Low precision floating point datatype.
Definition: auryn_definitions.h:157
bool stdp_active
Switches stdp on or off.
Definition: PairInteractionConnection.h:67
Abstract base class for all neuron groups.
Definition: NeuronGroup.h:45
void set_floor_terms(double pre_post=0.0, double post_pre=0.0)
Sets "floor" terms for STDP rule.
Definition: PairInteractionConnection.cpp:264
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
AurynTime * last_spike_post
Definition: PairInteractionConnection.h:53
Duplex connection is the base class of most plastic connections.
Definition: DuplexConnection.h:54
unsigned int NeuronID
NeuronID is an unsigned integeger type used to index neurons in Auryn.
Definition: auryn_definitions.h:151