The new approach based on Morlet wavelet spectrograms ridges analysis and allowing automatic detecting different activity in long term EEG signals is developed. To distinguish epileptiform activity from chewing artifacts two approaches are proposed. The quantitative characteristics of events wavelet spectrogram ridges were studied, as well as the frequency of broadband peaks at time points corresponding to peak-wave epileptiform activity on the one hand, and the peaks of myographic activity during chewing on the other hand. Signs by which one can qualitatively divide the group containing epileptic discharges from chewing artifacts were found.