sPyNNaker neural_modelling 7.3.1
|
Post-synaptic events. More...
Go to the source code of this file.
Data Structures | |
struct | update_post_trace_t |
struct | post_event_history_t |
Trace history of post-synaptic events. More... | |
Macros | |
#define | MAX_EVENTS 16 |
Maximum number of pre-synaptic events per post neuron. | |
Functions | |
static post_event_history_t * | post_events_init_buffers (uint32_t n_neurons) |
Initialise an array of post-synaptic event histories. | |
static void | post_events_add (post_event_history_t *events, uint16_t weight_change, uint32_t pre_spike, uint16_t synapse_type) |
Add a post-synaptic event to the history. | |
static bool | post_events_remove (post_event_history_t *events, uint32_t index) |
Post-synaptic events.
Definition in file post_events_with_weight_change.h.
struct update_post_trace_t |
Definition at line 36 of file post_events_with_weight_change.h.
struct post_event_history_t |
Trace history of post-synaptic events.
Definition at line 39 of file post_events.h.
Data Fields | ||
---|---|---|
uint32_t | count_minus_one | Number of events stored (minus one) |
uint32_t | times[MAX_POST_SYNAPTIC_EVENTS] | Event times. |
post_trace_t | traces[MAX_POST_SYNAPTIC_EVENTS] | Event traces. |
nm_post_trace_t | traces[MAX_POST_SYNAPTIC_EVENTS] | Event traces. |
uint32_t | dopamine_trace_markers | Bit field to indicate whether a trace is dopamine or not. |
uint32_t | count | Number of events stored. |
update_post_trace_t | traces[MAX_EVENTS] | Event traces. |
#define MAX_EVENTS 16 |
Maximum number of pre-synaptic events per post neuron.
Definition at line 34 of file post_events_with_weight_change.h.
|
inlinestatic |
Initialise an array of post-synaptic event histories.
[in] | n_neurons | Number of neurons |
Definition at line 66 of file post_events_with_weight_change.h.
|
inlinestatic |
Add a post-synaptic event to the history.
[in] | time | the time of the event |
[in,out] | events | the history to add to |
[in] | trace | the trace of the event |
Definition at line 95 of file post_events_with_weight_change.h.
|
inlinestatic |
Definition at line 123 of file post_events_with_weight_change.h.