brainpy.encoding
module#
Base class for encoding rate values as spike trains. |
|
Encode the rate input as the spike train using the latency encoding. |
|
Encode the rate input into the spike train according to [1]_. |
|
Encode the rate input as the Poisson spike train. |
|
Generate spike only when the difference between two subsequent time steps meets a threshold. |