A method comprising the steps of receiving heartbeat data of a patient; receiving accelerometer data of the patient; determining, using the accelerometer data, that the patient is transitioning from a sleep state to an awake state; modifying a weighting factor based on the transition; determining modified heartbeat data by applying the weighting factor to at least a portion of the heartbeat data; and detecting a seizure event based on the modified heartbeat data.
DETECTING SEIZURES BASED ON HEARTBEAT DATA