superneuromat.SNN.stdp_time_steps#

property SNN.stdp_time_steps: int[source]#

Returns the number of time steps over which STDP updates will be made.

This is the effective number of time steps that Spike-Timing Dependent Plasticity (STDP) will be applied over. This depends on the length of the apos and aneg lists, as well whether stdp_positive_update or stdp_negative_update are enabled.

If STDP is not enabled, returns 0.

Raises:

RuntimeError – If both positive and negative updates are enabled, but apos and aneg are not the same length.