sPyNNaker neural_modelling 7.3.1
|
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_t * | input_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. | |
The no-input input type.
Definition in file input_type_none.h.
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 |
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 |
#define NUM_EXCITATORY_RECEPTORS 0 |
No inputs, so no receptors.
Definition at line 24 of file input_type_none.h.
#define NUM_INHIBITORY_RECEPTORS 0 |
No inputs, so no receptors.
Definition at line 28 of file input_type_none.h.
|
inlinestatic |
Definition at line 39 of file input_type_none.h.
|
inlinestatic |
Definition at line 43 of file input_type_none.h.
|
inlinestatic |
Gets the actual input value. This allows any scaling to take place.
Actually does nothing; no receptors
[in,out] | value | The array of the receptor-based values of the input before scaling |
[in] | input_type | The input type pointer to the parameters |
[in] | num_receptors | The number of receptors. The size of the value array. |
Definition at line 56 of file input_type_none.h.
|
inlinestatic |
Converts an excitatory input into an excitatory current.
Actually does nothing; no receptors
[in,out] | exc_input | Pointer 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_type | The input type pointer to the parameters |
[in] | membrane_voltage | The membrane voltage to use for the input |
Definition at line 69 of file input_type_none.h.
|
inlinestatic |
Converts an inhibitory input into an inhibitory current.
Actually does nothing; no receptors
[in,out] | inh_input | Pointer 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_type | The input type pointer to the parameters |
[in] | membrane_voltage | The membrane voltage to use for the input |
Definition at line 82 of file input_type_none.h.