Burst Encoding¶
Burst Encoding is a technique employed to encode information by leveraging two time-based characteristics of a single spike train: the number of spikes (SpikeNumber) and the inter-spike interval (ISI). This method is particularly effective when the goal is to encapsulate both the density of spikes and the timing between them into a unified encoding scheme.
Algorithm Overview:
Burst Encoding follows these steps:
Calculate Spike Number:
The algorithm first determines the number of spikes in a burst using the normalized signal rate and the maximum number of spikes:
\[\text{SpikeNumber} = \lceil \text{rate} \cdot N_{\text{max}} \rceil\]Here, SpikeNumber is the number of spikes calculated for each segment of the signal, and rate is derived from a normalization procedure.
Determine Inter-Spike Interval (ISI):
The ISI between spikes is calculated based on the difference between t_max and t_min, scaled by the normalized signal rate:
\[\begin{split}\text{ISI} = \begin{cases} \left\lceil \frac{t_{\text{max}} - \text{rate}(t_{\text{max}} - t_{\text{min}})}{t_{\text{max}}} \right\rceil & \text{if SpikeNumber} > 1 \\ t_{\text{max}} & \text{otherwise} \end{cases}\end{split}\]The ISI determines the timing between consecutive spikes within each burst.
Spike Train Construction:
Based on the calculated SpikeNumber and ISI, the algorithm constructs a spike train where bursts of spikes are placed at the calculated intervals.
Implementation Steps:
Normalize the Signal: The input signal is normalized to obtain the rate, which influences both the SpikeNumber and the ISI.
Calculate Spike Numbers and ISI: Using the normalized rate, determine the number of spikes and their inter-spike intervals.
Generate the Spike Train: Construct the spike train based on the calculated parameters, ensuring that the burst structure is maintained.
Advantages:
This encoding method is particularly useful in neural data analysis and other areas where time-based spike data needs to be efficiently encoded.
For a practical implementation in Python, see the Burst Encoding Function.
References:
Guo et al. (2021). “Burst Encoding Techniques for Neural Spike Trains.” Journal of Neuroscience Methods.