Wavelet transforms and surrogate data for electroencephalographic spike and seizure localization | Synapse