Pictorial description of the analysis of spatiotemporal patterns within spontaneous bursts and statistics on the change of distribution of burst patterns across the tetanus. (A) Raster plot and corresponding histogram of spontaneous spiking activity on 60 electrodes. Small and big bursts were detected, the onset and offset times of bursting activity were calculated and the difference between the offset and onset times was determined as the length of the burst. The burst activity matrix (BAM) for each burst was generated by counting the number of spikes within the length of the burst on each of the 60 electrodes using a 100 ms moving time bin (time step = 10 ms). The right panel shows frames of a BAM for different time bins for 60 electrodes (arranged in the original coordinates of the multi-electrode array). The size of the circle represents the number of spikes on that particular electrode for a particular time bin with the colored circle representing the value at electrode k, and the firing rate time histogram for electrode k is shown below. The BAM for each burst was then constructed by appending the histograms from the 60 recording electrodes, together to form a 1 by 60 N matrix, where N is the number of time bins in the longest burst. (B) A two-dimensional cross-section of a BAM plotted in 60 by N dimensional space is shown. BAMs of all bursts were compared against each other and clustered using a paired clustering algorithm (dendrogram, see supplementary materials stacks.iop.org/PhysBio/4/181). Occurrence represents when a burst occurs within a specific BAM cluster (figures 3 and 4). Integrated occurrence was defined as the total number of occurrences of bursts in a 15 min time window moved by a time step of 30 s. Integrated occurrences were calculated across three periods of the same length equally spaced in time, Pre1, Pre2, Post1, and Post2. Periods Pre1 and Pre2 were before the tetanus stimulation and periods Post1 and Post2 were after the tetanus. (C) A two-dimensional cross-section of integrated occurrences of all BAM clusters (S by R dimensional matrix, S = number of BAM clusters, R = number of 15 min moving time windows) is shown. The color bar represents the time elapsed during the experiment and each point represents the integrated occurrence of the BAM clusters. The centroids of integrated occurrences in periods Pre1, Pre2 and Post1 were calculated. The change across periods was calculated as the Euclidean distance of each point in a period from the centroid of the previous period (d12, d23 and d34 in the figure) normalized by the Euclidean distance of each point in the previous period from its centroid (d11, d22 and d33 in the figure). This calculation yielded three quantities: C/D before the tetanus (Pre1–Pre2), C/D across the tetanus (Pre2–Post1) and C/D after the tetanus (Post1–Post2). The difference between two C/Ds from consecutive periods was tested (Wilcoxon's rank sum test) to evaluate changes in the burst pattern across periods.