The spectral evolution alarm procedure. The images here are solely for illustrative purposes. This figure depicts the process for the detection of swarming in the post-training phase. In order to account for the history of the vibrational spectra, the FFT (Fast Fourier Transform) is performed on the time course of the magnitude of all the uploaded spectral frequencies for each day between midnight and 5:00 AM, yielding 2DFT (two dimensional Fourier Transform) images (second line). The FFT is then further calculated over each pixel of the series of 2DFTs found in the preceding days (third line). Each 3DFT (three dimensional Fourier Transform) is compared to a pair of Discriminant Functions, as determined by the DFA algorithm (Fig. 5), using the cross-correlation product (CCP), the values of which determine the co-ordinates for a single point in the DF space. The remainder of the procedure is identical to that described in Fig. 1. In this figure, for ease of representation, we give an example using two discriminant functions, however, in this study, three discriminant functions were used. Plots used in the creation of this figure were generated using the MATLAB (R2018b) software (uk.mathworks.com).