sPyNNaker neural_modelling 7.3.1
|
Stochastic threshold, due to Wolfgang Maass et al. More...
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... | |
Macros | |
#define | PROB_SATURATION 0.8k |
Probability of firing when at saturation. | |
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. | |
Variables | |
static volatile REAL | ten = 10k |
Stochastic threshold, due to Wolfgang Maass et al.
Definition in file threshold_type_maass_stochastic.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 |
#define PROB_SATURATION 0.8k |
Probability of firing when at saturation.
Definition at line 27 of file threshold_type_maass_stochastic.h.
|
static |
Definition at line 58 of file threshold_type_maass_stochastic.h.
|
static |
Definition at line 67 of file threshold_type_maass_stochastic.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 75 of file threshold_type_maass_stochastic.h.
|
static |
Definition at line 56 of file threshold_type_maass_stochastic.h.