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
andaneg
lists, as well whetherstdp_positive_update
orstdp_negative_update
are enabled.If STDP is not enabled, returns
0
.- Raises:
RuntimeError – If both positive and negative updates are enabled, but
apos
andaneg
are not the same length.