19#ifndef _INPUT_TYPE_CONDUCTANCE_H_
20#define _INPUT_TYPE_CONDUCTANCE_H_
46static inline void input_type_save_state(UNUSED
input_type_t *state,
60 uint16_t num_receptors) {
61 for (
int i = 0; i < num_receptors; i++) {
62 value[i] = value[i] >> 10;
77 exc_input[i] = exc_input[i] *
78 (input_type->
V_rev_E - membrane_voltage);
92 inh_input[i] = -inh_input[i] *
93 (input_type->
V_rev_I - membrane_voltage);
accum REAL
Type used for "real" numbers.
REAL state_t
The type of a state variable.
REAL input_t
The type of an input.
static uint n_steps_per_timestep
The number of steps to run per timestep.
static stdp_params params
Configuration parameters.