26 #ifndef PROFILEPOISSONGROUP_H_ 27 #define PROFILEPOISSONGROUP_H_ 34 #include <boost/random/mersenne_twister.hpp> 35 #include <boost/random/uniform_int.hpp> 36 #include <boost/random/variate_generator.hpp> 37 #include <boost/random/exponential_distribution.hpp> 67 static boost::mt19937
gen;
68 boost::uniform_01<> *
dist;
69 boost::variate_generator<boost::mt19937&, boost::uniform_01<> > *
die;
void set_flat_profile()
Definition: ProfilePoissonGroup.cpp:97
void set_gaussian_profile(AurynDouble mean, AurynDouble sigma, AurynDouble floor=0.0)
Definition: ProfilePoissonGroup.cpp:132
auryn_vector_float * profile
stores the spatial distribution of relative firing rates
Definition: ProfilePoissonGroup.h:71
AurynDouble jumpsize
Definition: ProfilePoissonGroup.h:65
Abstract base class of all objects producing spikes.
Definition: SpikingGroup.h:67
boost::uniform_01 * dist
Definition: ProfilePoissonGroup.h:68
double AurynDouble
Higher precision floating point datatype.
Definition: auryn_definitions.h:158
int n
Definition: mkpat.py:5
virtual void evolve()
Definition: ProfilePoissonGroup.cpp:157
void set_rate(AurynDouble rate)
Definition: ProfilePoissonGroup.cpp:67
Definition: ABSConnection.h:38
float AurynFloat
Low precision floating point datatype.
Definition: auryn_definitions.h:157
static boost::mt19937 gen
Definition: ProfilePoissonGroup.h:67
NeuronID x
Definition: ProfilePoissonGroup.h:64
void normalize_profile()
Definition: ProfilePoissonGroup.cpp:84
ProfilePoissonGroup(NeuronID n, AurynDouble rate=5.)
Definition: ProfilePoissonGroup.cpp:54
AurynDouble get_rate()
Definition: ProfilePoissonGroup.cpp:151
Default AurynVectorFloat class for performance computation.
Definition: AurynVector.h:796
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
void seed(int s)
Definition: ProfilePoissonGroup.cpp:172
void set_profile(AurynFloat *newprofile)
Definition: ProfilePoissonGroup.cpp:104
unsigned int NeuronID
NeuronID is an unsigned integeger type used to index neurons in Auryn.
Definition: auryn_definitions.h:151
boost::variate_generator< boost::mt19937 &, boost::uniform_01<> > * die
Definition: ProfilePoissonGroup.h:69
A SpikingGroup that creates poissonian spikes with a given rate and spatial profile.
Definition: ProfilePoissonGroup.h:54
virtual ~ProfilePoissonGroup()
Definition: ProfilePoissonGroup.cpp:59