Event Handling Blocks#
- Continuous to Event
- Input:
In (analog) – Input signal \(x\).
- Output:
Out (boolean) – Output events signal \(\delta\).
- Parameters:
Threshold – The threshold \(d\) of the event generation. Default value is 0.0.
- Event to Continuous
- Input:
In (boolean) – Input events signal \(\delta\).
- Output:
Out (analog) – Output signal \(x\).
- Parameters:
Gain – The gain \(g\) of the event to continuous conversion. Default value is 1.0.
- Event to Fixed Width Pulse
Block transforming incoming events into fixed width events. The blocks can be mathematically described as:
\[\begin{aligned} \delta_\text{out} &= H(T + t_{\delta_\text{in},i} - t)\delta_\text{in} \end{aligned}\]where \(T\) is the fixed pulse width parameter, \(t_{\delta_\text{in},i}\) is the rising edge time of the incoming event and \(t\) is the current time.
- Input:
In (boolean) – Input events signal \(\delta_\text{in}\).
- Output:
Out (boolean) – Output events signal \(\delta_\text{out}\).
- Parameters:
Pulse Width – The fixed width \(T\) of the output events in seconds. Default value is 0.0 seconds.
- Event Loss
Block stochastically losing events according to a specified probability \(p\). The blocks can be mathematically described as:
\[\begin{aligned} \delta_\text{out} &= H(X[i] - p)\delta_\text{in} \end{aligned}\]where \(p\) is the loss probability parameter and \(X[i]\) is a random number uniformly drawn in \([0, 1]\) for each incoming event.
- Input:
In (boolean) – Input events signal \(\delta_\text{in}\).
- Output:
Out (boolean) – Output events signal \(\delta_\text{out}\).
- Parameters:
Loss Probability – Probability \(p\) of losing an event. Default value is 0.0.
Seed – The seed of the random number generator, a value of -1 specifies a random seed. Default value is -1.