![]() |
Auryn simulator
v0.8.1-206-gb56e451
Plastic Spiking Neural Network Simulator
|
Stimulator class to inject timeseries of currents NeuronGroups. More...
#include <PoissonStimulator.h>


Public Member Functions | |
| PoissonStimulator (NeuronGroup *target, AurynFloat rate=100.0, AurynWeight w=0.1) | |
| Default Constructor. More... | |
| virtual | ~PoissonStimulator () |
| Default Destructor. More... | |
| void | set_rate (AurynFloat rate) |
| Sets the event rate of the underlying Poisson generator. More... | |
| AurynFloat | get_rate () |
| Returns the event rate of the underlying Poisson generator. More... | |
| void | seed (int s) |
| Seeds the random number generator of all PoissonStimulator objects on this rank. More... | |
| void | set_target_state (string state_name="mem") |
| Sets the state that is stimulated. More... | |
| void | execute () |
| Implementation of necessary execute() function. More... | |
Protected Attributes | |
| NeuronGroup * | dst |
Protected Attributes inherited from auryn::Device | |
| std::string | device_name |
| Identifying name for device. More... | |
| bool | active |
| Standard active switch. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from auryn::Device | |
| void | init () |
| Standard initializer to be called by the constructor. More... | |
| virtual void | virtual_serialize (boost::archive::binary_oarchive &ar, const unsigned int version) |
| virtual void | virtual_serialize (boost::archive::binary_iarchive &ar, const unsigned int version) |
| Device () | |
| Standard constructor. More... | |
| void | set_name (std::string s) |
| Set device name. More... | |
| std::string | get_name () |
| Get device name. More... | |
| int | get_id () |
| Get numeric device id. More... | |
| virtual void | flush () |
| Flush to file. More... | |
| virtual | ~Device () |
| Standard destructor. More... | |
| virtual void | evolve () |
Stimulator class to inject timeseries of currents NeuronGroups.
Instances of this class inject independent currents from a Poisson distribution to the NeuronGroup assigned.
| PoissonStimulator::PoissonStimulator | ( | NeuronGroup * | target, |
| AurynFloat | rate = 100.0, |
||
| AurynWeight | w = 0.1 |
||
| ) |
Default Constructor.

|
virtual |
Implementation of necessary execute() function.
Reimplemented from auryn::Device.

| AurynFloat PoissonStimulator::get_rate | ( | ) |
| void PoissonStimulator::seed | ( | int | s | ) |
Seeds the random number generator of all PoissonStimulator objects on this rank.
| void PoissonStimulator::set_rate | ( | AurynFloat | rate | ) |
| void PoissonStimulator::set_target_state | ( | std::string | state_name = "mem" | ) |
Sets the state that is stimulated.
This must be a valid state vector name (default = mem).

|
protected |
The target NeuronGroup
1.8.13