Auryn simulator  v0.8.1-206-gb56e451
Plastic Spiking Neural Network Simulator
SpikeTimingStimGroup.h
Go to the documentation of this file.
1 /*
2 * Copyright 2014-2018 Friedemann Zenke
3 *
4 * This file is part of Auryn, a simulation package for plastic
5 * spiking neural networks.
6 *
7 * Auryn is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * Auryn is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with Auryn. If not, see <http://www.gnu.org/licenses/>.
19 *
20 * If you are using Auryn or parts of it for your work please cite:
21 * Zenke, F. and Gerstner, W., 2014. Limits to high-speed simulations
22 * of spiking neural networks using general-purpose computers.
23 * Front Neuroinform 8, 76. doi: 10.3389/fninf.2014.00076
24 */
25 
26 #ifndef SPIKETIMINGSTIMGROUP_H_
27 
28 #define SPIKETIMINGSTIMGROUP_H_
29 
30 #include "auryn_definitions.h"
31 #include "System.h"
32 #include "StimulusGroup.h"
33 
34 #include <boost/random/mersenne_twister.hpp>
35 #include <boost/random/uniform_01.hpp>
36 #include <boost/random/uniform_real.hpp>
37 #include <boost/random/uniform_int.hpp>
38 #include <boost/random/exponential_distribution.hpp>
39 #include <boost/random/normal_distribution.hpp>
40 #include <boost/random/variate_generator.hpp>
41 
42 namespace auryn {
43 
44 
46 {
47 private:
48  void init();
49 
50 protected:
51  virtual void redraw();
52 
53 public:
59 
61  SpikeTimingStimGroup(NeuronID n, string filename, string stimfile, StimulusGroupModeType stimulusmode=RANDOM, AurynFloat timeframe=0.0 );
62 
64  SpikeTimingStimGroup(NeuronID n, string stimfile, StimulusGroupModeType stimulusmode=RANDOM, AurynFloat timeframe=0.0 );
65 
66  virtual ~SpikeTimingStimGroup();
67 
69  virtual void evolve();
70 
71 };
72 
73 }
74 
75 #endif /*SPIKETIMINGSTIMGROUP_H_*/
AurynDouble refractory_period
Refractory period.
Definition: SpikeTimingStimGroup.h:58
virtual ~SpikeTimingStimGroup()
Definition: SpikeTimingStimGroup.cpp:41
Definition: auryn_definitions.h:148
double AurynDouble
Higher precision floating point datatype.
Definition: auryn_definitions.h:158
int n
Definition: mkpat.py:5
Definition: ABSConnection.h:38
StimulusGroupModeType
Specifies stimulus order used in StimulusGroup.
Definition: auryn_definitions.h:148
float AurynFloat
Low precision floating point datatype.
Definition: auryn_definitions.h:157
Provides a poisson stimulus at random intervals in one or more predefined subsets of the group that a...
Definition: StimulusGroup.h:50
virtual void evolve()
Definition: SpikeTimingStimGroup.cpp:58
SpikeTimingStimGroup(NeuronID n, string filename, string stimfile, StimulusGroupModeType stimulusmode=RANDOM, AurynFloat timeframe=0.0)
Default constructor.
Definition: SpikeTimingStimGroup.cpp:31
virtual void redraw()
Definition: SpikeTimingStimGroup.cpp:51
Definition: SpikeTimingStimGroup.h:45
unsigned int NeuronID
NeuronID is an unsigned integeger type used to index neurons in Auryn.
Definition: auryn_definitions.h:151