sPyNNaker neural_modelling 7.3.1
Loading...
Searching...
No Matches
input_type_current.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2015 The University of Manchester
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
19#ifndef _INPUT_TYPE_CURRENT_H_
20#define _INPUT_TYPE_CURRENT_H_
21
22#include "input_type.h"
23
25};
26
27struct input_type_t {
28};
29
30static inline void input_type_initialise(UNUSED input_type_t *state,
32 UNUSED uint32_t n_steps_per_timestep) {
33}
34
35static inline void input_type_save_state(UNUSED input_type_t *state,
37}
38
48 input_t *restrict value, UNUSED input_type_t *input_type,
49 UNUSED uint16_t num_receptors) {
50 return value;
51}
52
60 UNUSED input_t *restrict exc_input,
61 UNUSED const input_type_t *input_type,
62 UNUSED state_t membrane_voltage) {
63}
64
72 UNUSED input_t *restrict inh_input,
73 UNUSED const input_type_t *input_type,
74 UNUSED state_t membrane_voltage) {
75}
76
77#endif // _INPUT_TYPE_CURRENT_H_
API for synaptic inputs (see also src/neuron/synapse_types)
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.
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.
Conductance input parameters.
Conductance state.
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.