sPyNNaker neural_modelling 7.3.1
Loading...
Searching...
No Matches
Data Structures | Functions
additional_input_ca2_adaptive_impl.h File Reference

Implementation of adaptive calcium ion additional input. More...

#include "additional_input.h"

Go to the source code of this file.

Data Structures

struct  additional_input_params_t
 The additional input is due to calcium ions. More...
 
struct  additional_input_t
 The additional input is due to calcium ions. More...
 

Functions

static void additional_input_initialise (additional_input_t *state, additional_input_params_t *params, uint32_t n_steps_per_timestep)
 
static void additional_input_save_state (additional_input_t *state, additional_input_params_t *params)
 
static input_t additional_input_get_input_value_as_current (additional_input_t *additional_input, state_t membrane_voltage)
 Gets the value of current provided by the additional input this timestep.
 
static void additional_input_has_spiked (additional_input_t *additional_input)
 Notifies the additional input type that the neuron has spiked.
 

Detailed Description

Implementation of adaptive calcium ion additional input.

Model from Liu, Y. H., & Wang, X. J. (2001). Spike-frequency adaptation of a generalized leaky integrate-and-fire model neuron. Journal of Computational Neuroscience, 10(1), 25-45. doi:10.1023/A:1008916026143

Definition in file additional_input_ca2_adaptive_impl.h.


Data Structure Documentation

◆ additional_input_params_t

struct additional_input_params_t

The additional input is due to calcium ions.

An empty additional input that makes no contribution.

Definition at line 31 of file additional_input_ca2_adaptive_impl.h.

Data Fields
REAL tau_ca2 Time constant of decay of i_ca2.
REAL i_ca2 Calcium current.
REAL i_alpha Influx of CA2 caused by each spike.
REAL time_step The time step of the simulation.

◆ additional_input_t

struct additional_input_t

The additional input is due to calcium ions.

An empty additional input that makes no contribution.

Definition at line 43 of file additional_input_ca2_adaptive_impl.h.

Data Fields
REAL exp_tau_ca2 exp(-(machine time step in ms) / (tau_ca2))
REAL i_ca2 Calcium current.
REAL i_alpha Influx of CA2 caused by each spike.

Function Documentation

◆ additional_input_initialise()

static void additional_input_initialise ( additional_input_t state,
additional_input_params_t params,
uint32_t  n_steps_per_timestep 
)
inlinestatic

Definition at line 52 of file additional_input_ca2_adaptive_impl.h.

◆ additional_input_save_state()

static void additional_input_save_state ( additional_input_t state,
additional_input_params_t params 
)
inlinestatic

Definition at line 61 of file additional_input_ca2_adaptive_impl.h.

◆ additional_input_get_input_value_as_current()

static input_t additional_input_get_input_value_as_current ( additional_input_t additional_input,
state_t  membrane_voltage 
)
inlinestatic

Gets the value of current provided by the additional input this timestep.

Parameters
[in]additional_inputThe additional input type pointer to the parameters
[in]membrane_voltageThe membrane voltage of the neuron
Returns
The value of the input after scaling

Definition at line 72 of file additional_input_ca2_adaptive_impl.h.

◆ additional_input_has_spiked()

static void additional_input_has_spiked ( additional_input_t additional_input)
inlinestatic

Notifies the additional input type that the neuron has spiked.

Parameters
[in]additional_inputThe additional input type pointer to the parameters

Definition at line 85 of file additional_input_ca2_adaptive_impl.h.