A computer enabled method for analysing an electroencephalographic (EEG) waveform to detect the presence of a waveform indicative of an epileptic seizure. The method comprises the steps of, performing a time frequency analysis of the EEG waveform utilising a moving window to perform the analysis on a segment and calculating a power spectrum value of the analysed segment of the waveform to derive an index value. The calculated index value is utilised to determine the presence of a seizure. In a specific embodiment, the invention is directed to the detection of epileptic seizures in rats, mice and other rodents.