bionet.ted.asdm.asdm_decode_ins¶
- bionet.ted.asdm.asdm_decode_ins(s, dur, dt, bw, b, sgn=-1)¶
Threshold-insensitive ASDM time decoding machine.
Decode a signal encoded with an Asynchronous Sigma-Delta Modulator using a threshold-insensitive recovery algorithm.
Parameters: s : ndarray 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.
sgn : {-1, 1}
Sign of first spike.
Returns: u_rec : ndarray of floats
Recovered signal.