Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

About Hypnograms #15

Open
JimHe1993 opened this issue Feb 21, 2019 · 7 comments
Open

About Hypnograms #15

JimHe1993 opened this issue Feb 21, 2019 · 7 comments

Comments

@JimHe1993
Copy link

Hi Simon
I'm Jim, a student of China. I'm learning your code. Can you share the hypnograms files of your thesis because of edfx database has been updated, so I can't run the edfx_database.py correctly. My e-mail address is [email protected]. Thanks a lot!

@skjerns
Copy link
Owner

skjerns commented Feb 21, 2019

I think you just need to replace the URL in the code with the new URL: https://physionet.org/physiobank/database/sleep-edfx/sleep-cassette/

Unfortunately I currently don't have the time to update anything related to the project, but feel free to implement the changes and create a PullRequest

@JimHe1993
Copy link
Author

JimHe1993 commented Feb 21, 2019 via email

@JimHe1993
Copy link
Author

JimHe1993 commented Feb 21, 2019 via email

@lhaippp
Copy link
Contributor

lhaippp commented Feb 21, 2019

Thanks for your job, it's really excellent!
I created a PullRequest to update the database, and hope it helps ;)

@JimHe1993
Copy link
Author

JimHe1993 commented Feb 21, 2019 via email

@skjerns
Copy link
Owner

skjerns commented Feb 21, 2019

Ah! Now I understand, you need the ground truth converted to csv.

try this script:

https://github.com/skjerns/AutoSleepScorerDev/blob/master/edfx_database.py

the convert_hypnograms should do the trick

@skjerns
Copy link
Owner

skjerns commented Feb 22, 2019

Have a look at https://github.com/skjerns/AutoSleepScorerDev/tree/master/edfx

There's all the hypnograms and an updated version of the conversion script: https://github.com/skjerns/AutoSleepScorerDev/blob/master/edfx/README.MD

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants