Input type shaped as Dirac delta.
More...
Go to the source code of this file.
Input type shaped as Dirac delta.
Definition in file input_type_delta.h.
◆ 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
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 |
|
◆ input_type_initialise()
◆ input_type_save_state()
◆ input_type_get_input_value()
Gets the actual input value. This allows any scaling to take place.
- Parameters
-
[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. |
- Returns
- Pointer to array of values of the receptor-based input after scaling
Definition at line 51 of file input_type_delta.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.
- Parameters
-
[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 63 of file input_type_delta.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.
- Parameters
-
[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 77 of file input_type_delta.h.