22#ifndef _THRESHOLD_TYPE_H_
23#define _THRESHOLD_TYPE_H_
Data type definitions for SpiNNaker Neuron-modelling.
REAL state_t
The type of a state variable.
static uint n_steps_per_timestep
The number of steps to run per timestep.
static stdp_params params
Configuration parameters.
static void threshold_type_initialise(threshold_type_t *state, threshold_type_params_t *params, uint32_t n_steps_per_timestep)
initialise the state from the parameters
static void threshold_type_save_state(threshold_type_t *state, threshold_type_params_t *params)
save parameters and state back to SDRAM for reading by host and recovery on restart
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.
Stochastic threshold parameters.
Stochastic threshold configuration.