Epileptiform discharges for Group 1 (top row) and Group 2 (bottom row) with time normalised such that t = 0 corresponds with sleep onset (A and C) and with sleep offset (B and D). The transparent grey box highlights the average habitual sleep period. The black arrows indicate the peaks in the ED distribution in Group 2. The peaks were determined by identifying the local maxima of the density function (solid red line).</p