SiReNe Simulation Software  1.0
InputCurrents.c File Reference

Different input currents of the neurons. More...

#include <math.h>
#include <stdlib.h>
#include "Sirene.h"
Include dependency graph for InputCurrents.c:

Functions

double ConstantInputCurrent (Simul *Simulation, int ModelNum, int NeuronNum, double t)
 Constant input current. More...
 
double InputCurrentWithNoise (Simul *Simulation, int ModelNum, int NeuronNum, double t)
 Constant input current with symmetric uniform noise optionally multiplied by a specific amplitude noise. More...
 
double StepwiseInputCurrent (Simul *Simulation, int ModelNum, int NeuronNum, double t)
 Stepwise input current. More...
 
double StepwiseInputCurrentWithNoise (Simul *Simulation, int ModelNum, int NeuronNum, double t)
 Stepwise input current with a specific amplitude noise and an optional symmetric uniform noise. More...
 

Function Documentation

◆ ConstantInputCurrent()

double ConstantInputCurrent ( Simul Simulation,
int  ModelNum,
int  NeuronNum,
double  t 
)

Parameters
SimulationStructure where all simulation information is stored
ModelNumNeural model number
NeuronNumNeuron number
tCurrent time t
Returns
Value of the input current of neuron NeuronNum in model ModelNum at time t

References Neuron::InputParameters, Simul::NeuralModels, and NeuralModel::Neurons.

Referenced by main().

◆ InputCurrentWithNoise()

double InputCurrentWithNoise ( Simul Simulation,
int  ModelNum,
int  NeuronNum,
double  t 
)

Parameters
SimulationStructure where all simulation information is stored
ModelNumNeural model number
NeuronNumNeuron number
tCurrent time t
Returns
Value of the input current of neuron NeuronNum in model ModelNum at time t

References Neuron::InputParameters, Simul::NeuralModels, NeuralModel::Neurons, Neuron::RandomState, and UniformNoise.

◆ StepwiseInputCurrent()

double StepwiseInputCurrent ( Simul Simulation,
int  ModelNum,
int  NeuronNum,
double  t 
)

Parameters
SimulationStructure where all simulation information is stored
ModelNumNeural model number
NeuronNumNeuron number
tCurrent time t
Returns
Value of the input current of neuron NeuronNum in model ModelNum at time t

References Neuron::InputParameters, Simul::NeuralModels, and NeuralModel::Neurons.

◆ StepwiseInputCurrentWithNoise()

double StepwiseInputCurrentWithNoise ( Simul Simulation,
int  ModelNum,
int  NeuronNum,
double  t 
)

Parameters
SimulationStructure where all simulation information is stored
ModelNumNeural model number
NeuronNumNeuron number
tCurrent time t
Returns
Value of the input current of neuron NeuronNum in model ModelNum at time t

References Neuron::InputParameters, Simul::NeuralModels, NeuralModel::Neurons, Neuron::RandomState, and SpecificNoise.

Referenced by main().