Thank you for this! Much appreciated!
Thanks for the quick update and the tool! This will save me a lot of time!
About the physical dimensions: I realised after posting that it is correct to have them switched (negative gain), but in this case the EDF Editor and Translator is giving a false positive. So the data is good, but the tool has a bug.
Keep up the good work, really appreciate it!
I'm using the latest (1.58) EDFBrowser (https://github.com/Teuniz/EDFbrowser) to view the EDF-files in SHHS. The files won't open because the start dates are invalid (00.00.00). When I use the EDF Editor and Translator (https://sleepdata.org/tools/edf-editor-and-translator) and manually change the start date to, for example, 01.01.01, the files open just fine. Seems like I'm not the first one to run into this problem: https://sleepdata.org/forum/getting-started-with-edf-files/1#comment-139
I understand why these dates have been set (de-identification) and looking at the EDFs specs, I could not see anything that prohibits day and month values to be set to 00 per se. However, I do feel that this date is a poor choice as it is confusing, makes little sense, and makes further analysis unnecessarily difficult (for example, reading the EDF-files with Python and using the datetime-package to handle the start date is not possible).
I would suggest that you use January 1st 1970 00:00:00 (Epoch time 0) as the start point for the dates.
PS. checking for errors in the EDF-files using EDF Editor and Translator shows some errors. For example, the physical max and min are switched for channel THOR RES in file shhs1-200001.edf.
@mrueschman thanks for fixing this! Sorry for not getting back to you earlier!
Yes, I was basically interested in how sleep patterns differ by age and sex, and my XML parser complained about this file.
This is a minor issue, but it seems like the file shhs1-204871-profusion.xml is not valid XML. There seems to be an invalid character on line 2, column 1560 in the Name of one of the ScoredEventSetting elements.
Can someone confirm this? Or did the file get corrupted during the download?