sPyNNaker neural_modelling 7.1.1
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
input_type_none.h File Reference

The no-input input type. More...

#include "input_type.h"

Go to the source code of this file.

Data Structures

struct  input_type_params_t
 Conductance input parameters. More...
 
struct  input_type_t
 Conductance state. More...
 

Macros

#define NUM_EXCITATORY_RECEPTORS   0
 No inputs, so no receptors.
 
#define NUM_INHIBITORY_RECEPTORS   0
 No inputs, so no receptors.
 

Functions

static void input_type_initialise (input_type_t *state, input_type_params_t *params, uint32_t n_steps_per_timestep)
 
static void input_type_save_state (input_type_t *state, input_type_params_t *params)
 
static input_tinput_type_get_input_value (input_t *restrict value, input_type_t *input_type, uint16_t num_receptors)
 Gets the actual input value. This allows any scaling to take place.
 
static void input_type_convert_excitatory_input_to_current (input_t *restrict exc_input, const input_type_t *input_type, state_t membrane_voltage)
 Converts an excitatory input into an excitatory current.
 
static void input_type_convert_inhibitory_input_to_current (input_t *restrict inh_input, const input_type_t *input_type, state_t membrane_voltage)
 Converts an inhibitory input into an inhibitory current.
 

Detailed Description

The no-input input type.

Definition in file input_type_none.h.


Data Structure Documentation

◆ input_type_params_t

struct input_type_params_t

Conductance input parameters.

Definition at line 25 of file input_type_conductance.h.

Data Fields
REAL V_rev_E reversal voltage - Excitatory [mV]
REAL V_rev_I reversal voltage - Inhibitory [mV]
REAL time_step

◆ input_type_t

struct input_type_t

Conductance state.

Definition at line 33 of file input_type_conductance.h.

Data Fields
REAL V_rev_E reversal voltage - Excitatory [mV]
REAL V_rev_I reversal voltage - Inhibitory [mV]
REAL scale_factor

Macro Definition Documentation

◆ NUM_EXCITATORY_RECEPTORS

#define NUM_EXCITATORY_RECEPTORS   0

No inputs, so no receptors.

Definition at line 24 of file input_type_none.h.

◆ NUM_INHIBITORY_RECEPTORS

#define NUM_INHIBITORY_RECEPTORS   0

No inputs, so no receptors.

Definition at line 28 of file input_type_none.h.

Function Documentation

◆ input_type_initialise()

static void input_type_initialise ( input_type_t state,
input_type_params_t params,
uint32_t  n_steps_per_timestep 
)
inlinestatic

Definition at line 39 of file input_type_none.h.

◆ input_type_save_state()

static void input_type_save_state ( input_type_t state,
input_type_params_t params 
)
inlinestatic

Definition at line 43 of file input_type_none.h.

◆ input_type_get_input_value()

static input_t * input_type_get_input_value ( input_t *restrict  value,
input_type_t input_type,
uint16_t  num_receptors 
)
inlinestatic

Gets the actual input value. This allows any scaling to take place.

Actually does nothing; no receptors

Parameters
[in,out]valueThe array of the receptor-based values of the input before scaling
[in]input_typeThe input type pointer to the parameters
[in]num_receptorsThe number of receptors. The size of the value array.
Returns
Pointer to array of values of the receptor-based input after scaling

Definition at line 56 of file input_type_none.h.

◆ input_type_convert_excitatory_input_to_current()

static void input_type_convert_excitatory_input_to_current ( input_t *restrict  exc_input,
const input_type_t input_type,
state_t  membrane_voltage 
)
inlinestatic

Converts an excitatory input into an excitatory current.

Actually does nothing; no receptors

Parameters
[in,out]exc_inputPointer to array of excitatory inputs from different receptors this timestep. Note that this will already have been scaled by input_type_get_input_value()
[in]input_typeThe input type pointer to the parameters
[in]membrane_voltageThe membrane voltage to use for the input

Definition at line 69 of file input_type_none.h.

◆ input_type_convert_inhibitory_input_to_current()

static void input_type_convert_inhibitory_input_to_current ( input_t *restrict  inh_input,
const input_type_t input_type,
state_t  membrane_voltage 
)
inlinestatic

Converts an inhibitory input into an inhibitory current.

Actually does nothing; no receptors

Parameters
[in,out]inh_inputPointer to array of inhibitory inputs from different receptors this timestep. Note that this will already have been scaled by input_type_get_input_value()
[in]input_typeThe input type pointer to the parameters
[in]membrane_voltageThe membrane voltage to use for the input

Definition at line 82 of file input_type_none.h.