bionet.ted.asdm.asdm_decode_vander¶
- bionet.ted.asdm.asdm_decode_vander(s, dur, dt, bw, b, d, k, sgn=-1)¶
Asynchronous Sigma-Delta Modulator time decoding machine that uses BPA.
Decode a finite length signal encoded with an Asynchronous Sigma-Delta Modulator by efficiently solving a Vandermonde system using the Bjork-Pereyra Algorithm.
Parameters: s: array_like of floats
Encoded signal. The values represent the time between spikes (in s).
dur: float
Duration of signal (in s).
dt: float
Sampling resolution of original signal; the sampling frequency is 1/dt Hz.
bw: float
Signal bandwidth (in rad/s).
b: float
Encoder bias.
d: float
Encoder threshold.
k: float
Encoder integration constant.
sgn: {-1, 1}
Sign of first spike.
Returns: u_rec : ndarray of floats
Recovered signal.