Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

Status of SleepyHead development, how to report/contribute
#1
Status of SleepyHead development, how to report/contribute
Hi all,

I'm just starting out into the world of sleep apnoea and though I don't (yet) use a CPAP, I bought an oximeter (CMS50E ver 6.6R) and somewhere along the line, I found out about SleepyHead.

So far so fairly good, but I've found a few minor issues and the SourceForge SH mailing lists (both -dev and -user) appear to be invitation-only (or, at least, requiring admin/mod approval), the -user list seems abandoned and so I'm not quite sure where the best place to report them is, how to help fix them or even whether SH is still an actively maintained project considering the last publicly available build appears to be rather over a year old (though I can see that Mark is still making occasional commits to the git repo).

ETA: SH Help » About says:

Quote:SleepyHead v0.9.8-1 (testing)

Build Date: Oct 3 2014 17:17:35
Revision: 4595153 (master branch)

which is why I believe(d) the software to be over a year old, even though I installed from SleepyHead-Testing-0.9.8-1-T3-Windows-Installer.exe, dated 28 October, 2015. I'm now confused as to whether the software I'm running is 2 or 14 months old.

Before I file any bug reports at SF, I will get the Qt SDK and MingW tool chain and try building (Win 7, 64-bit) the current git master/HEAD in case any of these issues have already been fixed. (That will be fun, because most of my dev experience has been under Linux.)

Meanwhile my question is, are there any devs other than Mark involved and, if so, is there any place in lieu of the usual SF mailing lists where I can talk to them and coördinate our activities?

In brief, those issues I've discovered are:

  1. Importing by serial download seems to result in very noisy data (bad samples, eg SpO2 of 0, 40 or 128% (magic number there, probably indicating lost bytes in the serial stream) and 0 PR), where uploading the same recording via .spoR file works as it should. Where the bad data is located varies from attempt to attempt. I can provide an example of a .spoR that imported correctly where direct download didn't, and an archive of a profile showing the bad imports.

  2. Imported data, whether by serial d/l, live recording or from .spoR, will end up recorded against the day prior to the date specified on the calendar in the import dialogue if the hour of the recording is before noon of the selected day (I assume this is related to the day split time in preferences). This can happen if you went to bed after midnight, or you keep strange hours like I do (it's getting on for 6am here now!).

  3. Changing the oximetry thresholds etc doesn't refresh events, even though the source code seems to suggest that it should (but that may be a reflection of the age of the build). The event list can be forced to refresh by running Data » Automatic Oximetry Cleanup.

    What else that operation does, I don't know, because I've not been able to find any documentation on it (nor on the effect of the option 'Discard segments under $x seconds' in Preferences » Oximetry).

My other issue, which is not a fault of SH, is that it does not appear to be possible to selectively delete or edit data once imported (other than to delete a whole day's worth of data, which is okay if you have a .spoR recording for that day).

The reason I wanted to do that was because, being new to both the oximeter and SH, of course I experimented under different conditions (waking vs sleeping, recorded on the pulse-ox vs recorded live sessions with plethysmographs etc) with the result that there are some very abnormal readings (including an SpO2 of 44% when I moved it from one hand to the other!), consequently the stats are nonsense and also the SpO2 plot won't autoscale properly (because it was using the 44% as the minimum). The autoscaling problem is a minor nuisance but easily worked around by manually setting the y-axis range, but it looks like the stats problem requires getting rid of the bad data.

Evidently, the thing to do is to maintain two profiles, one for sleep-only data and the other for experimentation. I discovered issue #2 after I created a new profile to import my night-long .spoR files.

However, those recordings also contain waking data, and I need to trim those samples out or the stats will be wrong for the sleep-only profile. Looking into the way SH stores data, it seems that it's a lot easier to edit the .spoR files than it is to edit the SH records directly, so I've written a Python script to do just that. I can send it to anybody who wants it, and maybe it's even something worth adding to the SH repo. (It currently doesn't support .spo2R files, but that wouldn't be hard to add.)

Sorry for the long-winded first post, but I hope the folks here can point me in the right direction for how best to liaise with Mark and the other devs, if any.

Thanks,

David.
David.
Post Reply Post Reply
#2
RE: Status of SleepyHead development, how to report/contribute
G'day David, welcome to Apnea Board.

SleepyHead is very much Mark's baby - he developed it from scratch and has maintained it over several years. Unfortunately he's not able to work on it all the time and updates are consequently a bit slow coming. However, Mark has also made SleepyHead open source so anybody with the necessary expertise can work on upgrades and enhancements. There is a forum here at Apnea Board devoted to SleepyHead development and supporting Mark's efforts. If you'd like to join that forum, please send a PM to SuperSleeper to arrange access. Given the time of year it might be a few days before he's able to get back to you.
Post Reply Post Reply
#3
RE: Status of SleepyHead development, how to report/contribute
(12-24-2015, 01:26 AM)DeepBreathing Wrote: G'day David, welcome to Apnea Board.

Many thanks for the kind welcome!

(12-24-2015, 01:26 AM)DeepBreathing Wrote: SleepyHead is very much Mark's baby - he developed it from scratch and has maintained it over several years. Unfortunately he's not able to work on it all the time and updates are consequently a bit slow coming.

I quite understand, not least because he doubtless has a day job and I can really identify with the 'brain fog' he's mentioned on his blog. So no pressure there, I just want to help if I can. I'm a developer, even if my C/++ is rather rusty, but I'm sure I can be of some help somewhere.

(12-24-2015, 01:26 AM)DeepBreathing Wrote: However, Mark has also made SleepyHead open source so anybody with the necessary expertise can work on upgrades and enhancements.

Yup, already got the code from sourceforge (which is how I wrote the Python script to parse .spoR files) and where I saw the commit log.

(12-24-2015, 01:26 AM)DeepBreathing Wrote: send a PM to SuperSleeper to arrange access. Given the time of year it might be a few days before he's able to get back to you.


Will do, and no problem.

Thanks again and merry christmas.


David.
Post Reply Post Reply
#4
RE: Status of SleepyHead development, how to report/contribute
(12-24-2015, 01:07 AM)strix Wrote: ETA: SH Help » About says:

Quote:SleepyHead v0.9.8-1 (testing)

Build Date: Oct 3 2014 17:17:35
Revision: 4595153 (master branch)

which is why I believe(d) the software to be over a year old, even though I installed from SleepyHead-Testing-0.9.8-1-T3-Windows-Installer.exe, dated 28 October, 2015. I'm now confused as to whether the software I'm running is 2 or 14 months old.

Hi David.

The 28 Oct 2015 was the date of the Windows installer that was created for Sleepyhead. The Sleepyhead files are still dated 03 Oct 2014.

Alan
Using FlashAir W-03 SD card in machine. You can download your data through wifi with FlashPAP or Sleep Master utilities.

I wanted to learn Binary so I enrolled in Binary 101. I seemed to have missed the first four courses. Big Grinnie

Stick it to the man, Download OSCAR and take back control of your data!

Thanks Ian. Like I didn't have enough Honey-Do projects to tackle. Mornincoffee
Post Reply Post Reply
#5
RE: Status of SleepyHead development, how to report/contribute
(12-24-2015, 12:50 PM)AlanE Wrote: The 28 Oct 2015 was the date of the Windows installer that was created for Sleepyhead. The Sleepyhead files are still dated 03 Oct 2014.

Acknowledged, thanks — I figured it'd be something like that.
David.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Field map Oscar report fields to MyAir fields jim62 1 159 03-06-2024, 07:38 AM
Last Post: srlevine1
  Seeking help with O2 report/OSCAR ejbpesca 26 1,478 02-01-2024, 01:49 PM
Last Post: Crimson Nape
  [BUG report] OSCAR v1.5.1 Skalou 10 1,284 12-03-2023, 02:58 PM
Last Post: Crimson Nape
  First OSCAR Report - Leak Rate jfkaess 11 1,683 11-11-2023, 05:15 PM
Last Post: ejbpesca
  how to use CPAP data to compute RDI with machine that doesn't report RERAs? TryingToGetItRight 3 629 09-29-2023, 09:35 AM
Last Post: Gideon
  User report: Löwenstein Prisma Smart Plus works very well with 1.5.0 clan 1 728 09-24-2023, 01:41 AM
Last Post: clan
  Aeonmed Data download & Report software Laknatha 2 773 07-18-2023, 04:35 AM
Last Post: Laknatha


New Posts   Today's Posts


About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.