bionet.ted.rt.RealTimeDecoder¶
- class bionet.ted.rt.RealTimeDecoder(dt, bw, N, M, K)¶
Abstract real-time time decoding machine.
This class implements a real-time time decoding machine. It must be subclassed to use a specific decoding algorithm.
Parameters: dt : float
Sampling resolution of input signal; the sampling frequency is 1/dt Hz.
bw : float
Signal bandwidth (in rad/s).
N : int
Number of spikes to process in each block less 1.
M : int
Number of spikes between the starting time of each successive block.
K : int
Number of spikes in the overlap between successive blocks.
Methods
decode(data, ...) Decode a block of data using the additional parameters. process(get, put) Process data obtained from get() and write it using put(). - __init__(dt, bw, N, M, K)¶
Methods
__init__(dt, bw, N, M, K) decode(*args) Decode a block of data. process(get, put) Decode data returned in blocks by function get() and write it to some destination using the function put(). window(t, ll, lr, rl, rr) Return a window defined over the vector of times t that forms a partition of unity over all time.