bionet.ted.rt.RealTimeEncoder

class bionet.ted.rt.RealTimeEncoder(*args)

Abstract real-time time encoding machine.

This class implements a real-time time encoding machine. It must be subclassed to use a specific encoding algorithm.

Notes

The encode() method must be extended to contain a time encoding algorithm implementation in functional subclasses of this class.

Methods

encode(data, ...) Encode a block of data using the additional parameters.
process(get, put) Process data obtained from get() and write it using put().
__init__(*args)

Initialize a real-time time encoder.

Methods

__init__(*args) Initialize a real-time time encoder.
encode(*args) Encode a block of data.
process(get, put) Encode data returned in blocks by function get() and write it to some destination using the function put().