26 #ifndef CURRENTINJECTOR_H_ 27 #define CURRENTINJECTOR_H_ void set_target_state(std::string state_name="mem")
Sets the state to add the "current" in every timestep to.
Definition: CurrentInjector.cpp:70
NeuronGroup * dst
Definition: CurrentInjector.h:70
void set_current(NeuronID i, AurynFloat current)
Sets current strengh for neuron i.
Definition: CurrentInjector.cpp:62
virtual ~CurrentInjector()
Default Destructor.
Definition: CurrentInjector.cpp:50
Stimulator class to add values in each timestep to arbitrary neuronal states.
Definition: CurrentInjector.h:49
void set_all_currents(AurynFloat current)
Sets current strength for all neurons.
Definition: CurrentInjector.cpp:66
Definition: ABSConnection.h:38
float AurynFloat
Low precision floating point datatype.
Definition: auryn_definitions.h:157
CurrentInjector(NeuronGroup *target, std::string neuron_state_name="mem", AurynFloat initial_current=0.0)
Default Constructor.
Definition: CurrentInjector.cpp:30
Abstract base class for all neuron groups.
Definition: NeuronGroup.h:45
Default AurynVectorFloat class for performance computation.
Definition: AurynVector.h:796
Abstract base class for all Device, Stimulator, etc objects.
Definition: Device.h:47
std::string string
Standard library string type which is imported into Auryn namespace.
Definition: auryn_definitions.h:156
unsigned int NeuronID
NeuronID is an unsigned integeger type used to index neurons in Auryn.
Definition: auryn_definitions.h:151
void execute()
Definition: CurrentInjector.cpp:55