bionet.ted.iaf.iaf_recoverable

bionet.ted.iaf.iaf_recoverable(u, bw, b, d, R, C)

IAF time encoding parameter check.

Determine whether a signal encoded with an Integrate-and-Fire neuron with the specified parameters can be perfectly recovered.

Parameters:

u : array_like of floats

Signal to test.

bw : float

Signal bandwidth (in rad/s).

b : float

Decoder bias.

d : float

Decoder threshold.

R : float

Neuron resistance.

C : float

Neuron capacitance.

Returns:

rec : bool

True if the specified signal is recoverable.

Raises:

ValueError

When the signal cannot be perfectly recovered.