iSpike  2.1
Spike conversion library for robotics
ispike::IzhikevichNeuronSim Class Reference

#include <IzhikevichNeuronSim.hpp>

List of all members.

Public Member Functions

 IzhikevichNeuronSim ()
 IzhikevichNeuronSim (size_t numNeurons, double a, double b, double c, double d)
const std::vector< unsigned > & getSpikes ()
void step ()
void setInputCurrent (unsigned index, double current)
void setParameterA (double a)
void setParameterB (double b)
void setParameterC (double c)
void setParameterD (double d)
void initialize (size_t numNeurons)

Detailed Description

Neuron simulator using the Izhikevich model of neurons

Definition at line 9 of file IzhikevichNeuronSim.hpp.


Constructor & Destructor Documentation

Empty constructors - parameters have to be set separately

Definition at line 11 of file IzhikevichNeuronSim.cpp.

IzhikevichNeuronSim::IzhikevichNeuronSim ( size_t  numNeurons,
double  a,
double  b,
double  c,
double  d 
)

Constructor with parameters

Definition at line 23 of file IzhikevichNeuronSim.cpp.


Member Function Documentation

const std::vector<unsigned>& ispike::IzhikevichNeuronSim::getSpikes ( ) [inline]

Definition at line 14 of file IzhikevichNeuronSim.hpp.

void IzhikevichNeuronSim::initialize ( size_t  numNeurons)

Re-initializes the simulator, creating arrays and setting parameters

Definition at line 45 of file IzhikevichNeuronSim.cpp.

void IzhikevichNeuronSim::setInputCurrent ( unsigned  index,
double  current 
)

Sets the input current to a particular neuron

Definition at line 63 of file IzhikevichNeuronSim.cpp.

void ispike::IzhikevichNeuronSim::setParameterA ( double  a) [inline]

Definition at line 17 of file IzhikevichNeuronSim.hpp.

void ispike::IzhikevichNeuronSim::setParameterB ( double  b) [inline]

Definition at line 18 of file IzhikevichNeuronSim.hpp.

void ispike::IzhikevichNeuronSim::setParameterC ( double  c) [inline]

Definition at line 19 of file IzhikevichNeuronSim.hpp.

void ispike::IzhikevichNeuronSim::setParameterD ( double  d) [inline]

Definition at line 20 of file IzhikevichNeuronSim.hpp.

Advances simulator by one time step

Definition at line 72 of file IzhikevichNeuronSim.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines