sPyNNaker neural_modelling 7.2.2
|
Threshold that fires at a fixed level. More...
#include "threshold_type.h"
Go to the source code of this file.
Data Structures | |
struct | threshold_type_params_t |
Stochastic threshold parameters. More... | |
struct | threshold_type_t |
Stochastic threshold configuration. More... | |
Functions | |
static void | threshold_type_initialise (threshold_type_t *state, threshold_type_params_t *params, uint32_t n_steps_per_timestep) |
static void | threshold_type_save_state (threshold_type_t *state, threshold_type_params_t *params) |
static bool | threshold_type_is_above_threshold (state_t value, threshold_type_t *threshold_type) |
Determines if the value given is above the threshold value. | |
Threshold that fires at a fixed level.
Definition in file threshold_type_static.h.
struct threshold_type_params_t |
Stochastic threshold parameters.
Definition at line 26 of file threshold_type_fixed_prob.h.
Data Fields | ||
---|---|---|
REAL | threshold_value | The value of the static threshold. |
UREAL | prob | The probability of spiking when the threshold has been crossed. |
mars_kiss64_seed_t | random_seed | The random seed. |
REAL | du_th | sensitivity of soft threshold to membrane voltage [mV-1] |
REAL | tau_th | time constant for soft threshold [ms-1] |
REAL | v_thresh | soft threshold value [mV] |
REAL | time_step_ms | time step scaling factor |
struct threshold_type_t |
Stochastic threshold configuration.
Static threshold configuration.
Definition at line 36 of file threshold_type_fixed_prob.h.
Data Fields | ||
---|---|---|
REAL | threshold_value | The value of the static threshold. |
uint32_t | prob | The probability of spiking when the threshold has been crossed. |
mars_kiss64_seed_t | random_seed | The random seed. |
REAL | du_th_inv |
sensitivity of soft threshold to membrane voltage [mV-1] (inverted in python code) |
REAL | tau_th_inv |
time constant for soft threshold [ms-1] (inverted in python code) |
REAL | v_thresh | soft threshold value [mV] |
REAL | neg_machine_time_step_ms_div_10 | time step scaling factor |
|
static |
Definition at line 35 of file threshold_type_static.h.
|
static |
Definition at line 40 of file threshold_type_static.h.
|
inlinestatic |
Determines if the value given is above the threshold value.
[in] | value | The value to determine if it is above the threshold |
[in] | threshold_type | The parameters to use to determine the result |
Definition at line 48 of file threshold_type_static.h.