-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add EEG seizure dataset and conversion script #6
Merged
Datseris
merged 11 commits into
JuliaDynamics:master
from
ikottlarz:seizure_detection_data
Jan 13, 2023
Merged
add EEG seizure dataset and conversion script #6
Datseris
merged 11 commits into
JuliaDynamics:master
from
ikottlarz:seizure_detection_data
Jan 13, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Datseris
reviewed
Jan 13, 2023
@Datseris I have now included 4 EEG time series, downsampled to 4 Hz. The file is now 8.5MB, this should be okay? |
Datseris
reviewed
Jan 13, 2023
Datseris
reviewed
Jan 13, 2023
exercise_data/data_explanations.md
Outdated
@@ -14,4 +14,5 @@ | |||
14 = Dataset 93 of https://webdav.tuebingen.mpg.de/cause-effect/ (citation = J. M. Mooij, J. Peters, D. Janzing, J. Zscheischler, B. Schoelkopf: "Distinguishing cause from effect using observational data: methods and benchmarks"). First column of data is average precipitation over 1948 to 2004 in mm/day, second is average runoff | |||
15 = Same as 14, but dataset 73: first column is CO2 emissions, second column is energy use (kg of oil equivalent) | |||
16 = Long-time simulation data for orbital parameters of Earth, from http://vo.imcce.fr/insola/earth/online/earth/online/index.php with DOI: 10.1051/0004-6361:20041335. The data (each column) are: time (1000yr), eccentricity, climatic precession, obliquity (radians), insolation (W/m^2). Latitude is 65, record at day of summer solstice (21 June, true longitude = 90). | |||
17 = Vostok Ice Core Data for 420,000 Years. First column is time in years (increasing towards the past), second column is estimated temperature difference w.r.t. current day temperature. Notice that the data are not equi-temporally sampled. The data were downloaded from https://www.ncdc.noaa.gov/paleo-search/ with suggested data citation: "Petit, J.R., et al., 2001, Vostok Ice Core Data for 420,000 Years, IGBP PAGES/World Data Center for Paleoclimatology Data Contribution Series #2001-076. NOAA/NGDC Paleoclimatology Program, Boulder CO, USA." and see https://doi.org/10.1038/20859 | |||
17 = Vostok Ice Core Data for 420,000 Years. First column is time in years (increasing towards the past), second column is estimated temperature difference w.r.t. current day temperature. Notice that the data are not equi-temporally sampled. The data were downloaded from https://www.ncdc.noaa.gov/paleo-search/ with suggested data citation: "Petit, J.R., et al., 2001, Vostok Ice Core Data for 420,000 Years, IGBP PAGES/World Data Center for Paleoclimatology Data Contribution Series #2001-076. NOAA/NGDC Paleoclimatology Program, Boulder CO, USA." and see https://doi.org/10.1038/20859 | |||
18 = EEG recordings of a patient from the Siena Scalp EEG Database. Each Column is one EEG signal at electrode F8 (right frontal region, patient has right-hemisphere seizures) from patient 0, downsampled to 64Hz. The seizures in the recordings are documented to have started at t=[1143.0s, 1220.0s, 1006.0s, 904.0s] and ended at t=[1213.0s, 1274.0s, 1080.0s, 971.0s], respectively. These time series were downloaded from https://physionet.org/files/siena-scalp-eeg/1.0.0/PN00/PN00-1.edf and converted into the csv format using convert_18.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these times that you document here the times of the real data, of the subsampled data? Isn't it simpler to give row indices as the start and end?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi there!
I have added
18.csv
containing an EEG recording of a patient with a seizure [1, 2], available fromphysionet
[3].For completeness, I have also added the
python
script I used to convert it from the.edf
format to.csv
.Why did I use a python script? Because I found no
Julia
package to read.edf
filesand using
pyedflib
viaPythonCall
doesn't work very nicely atm. Thepython
file includes some further info about the dataset.References
[1] Detti, P. (2020). Siena Scalp EEG Database (version 1.0.0). PhysioNet. https://doi.org/10.13026/5d4a-j060.
[2] Detti, Paolo, Giampaolo Vatti, and Garazi Zabalo Manrique de Lara. “EEG Synchronization Analysis for Seizure Prediction: A Study on Data of Noninvasive Recordings.” Processes 8, no. 7 (July 16, 2020): 846. https://doi.org/10.3390/pr8070846.
[3] Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P. C., Mark, R., ... & Stanley, H. E. (2000). PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220.