skjerns / AutoSleepScorer

An open-source sleep stage classification Python package
GNU Affero General Public License v3.0
103 stars 22 forks source link

comparision #26

Closed gsamyak30 closed 2 years ago

gsamyak30 commented 2 years ago

Hi Simon

Just want to ask can I get the hypnogram image which contain both human and cnn+lstm as you have paste image in your introduction part just because as I am getting only edf file image

skjerns commented 2 years ago

I simply plot the hypnogram 1 in red and overlay the second one in blue. For this, of course, you need to have both hypnograms available.

have a look at https://github.com/skjerns/sleep-utils/blob/master/sleep_utils/plotting.py , there you find a function plot_hypnogram which should serve your purpose

gsamyak30 commented 2 years ago

Hi Simon Just a basic question

if a edf file is in float then how we can convert into csv file

skjerns commented 2 years ago

sorry this has nothing to do with this project. this is a general python question better to be asked to an appropriate place like stackoverflow or your supervisor