bionet.ted.iaf.iaf_decode_spline¶
- bionet.ted.iaf.iaf_decode_spline(s, dur, dt, b, d, R=inf, C=1.0)¶
Spline interpolation IAF time decoding machine.
Decode a signal encoded with an IAF neuron using spline interpolation.
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.
b : float
Encoder bias.
d : float
Encoder threshold.
R : float
Neuron resistance.
C : float
Neuron capacitance.
Returns: u_rec : ndarray of floats
Recovered signal.