Automatic recognition of epileptic discharges based on shape similarity in time-domain. (March 2017)