The EEG signal was taken from andrzejak et al. [1]. Specifically, the first 5000 data points from the EEG data of a healthy patient from set A (file Z-093) was used and the first 5000 data points of a patient experiencing a seizure from set E (file S-056) was used (see figure below for case during seizure).
Parameters:
SampleSize (Optional[int]) – length of sample at end of entire time series
dynamic_state (Optional[str]) – Set dynamic state as either ‘normal’ or ‘seizure’.
Returns:
Array of the time indices as t and the simulation time series ts
The Electrocardoagram (ECG) data was taken from SciPys misc.electrocardiogram data set. This ECG data was originally provided by the MIT-BIH Arrhythmia Database [2]. We used data points 3000 to 5500 during normal sinus rhythm and 8500 to 11000 during arrhythmia (arrhythmia case shown below in figure).
Parameters:
dynamic_state (Optional[str]) – Set dynamic state as either ‘normal’ or ‘seizure’.
Returns:
Array of the time indices as t and the simulation time series ts