Title: Delay-estimation with application to electroencephalograms in epilepsy