SleepyHead Qt v0.8 alpha

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
Breathe Jimbo
Posts: 954
Joined: Sun Sep 12, 2010 3:02 pm
Location: Pasadena, CA

Re: SleepyHead Qt v0.8 alpha

Post by Breathe Jimbo » Mon Jul 18, 2011 2:41 pm

I agree with the observation of an optical illusion due to shading.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Since 9/9/10; 13 cm; ResScan 3.16; SleepyHead 0.9; PapCap

User avatar
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Mon Jul 18, 2011 3:11 pm

I just tried the oximeter live with my CMS50D+. Looks pretty good.

Nits to pick.

1) I think the line should be thicker for SPO2 and Pulse.
2) The vendor's software greys out the line when data is invalid/suspect/whatever. Nice feature.
3) When I started it, I thought I wasn't getting SPO2 and Pulse data. It just took a while to show up and then it was just a little line at the left. User education issue, maybe.
4) SPO2 scale should probably go from 70 to 100%, not 0 to 100.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Mon Jul 18, 2011 5:07 pm

archangle wrote:I think I'd prefer the Event Flags window not to drop lines out when there are no events of that type when I go from day to day.
The foundation is there in the code to do whatever now.. I don't really like seeing it with only 1 or 2 lines.. it looks uggggly..
Have you given some thought to having a report generation function at some time? It would be nice to be able to print off a report or simply save a PDF file without cut and paste. Also, if you're printing, the background shading on the graphs will probably waste a lot of ink and slow down printing on an inkjet printer.
This is part of the reason I went Qt & OpenGL in the first place.. The graphs are designed to have a snapshot taken for printing purposes.. The pie chart and candlestick(s) shown in the daily view side pane webview control are examples of graph snapshots. Webview content is fairly easy to write print code for..
I notice that the shading on the "session times" display causes an optical illusion that the events are not rectangles. Looks to me like they're taller on the right side. Doesn't necessarily need to change, but is worth noting. The strength of the illusion varies as you zoom in and out on the image, so you may need to resize the window to see it.

Image
Each video card has a different method of drawing this.. Is this with AntiAliasing enabled (view menu) everywhere else? I haven't added the blending bit to Session Times yet.. (it's only copy and paste stuff, but I've been busy elsewhere in the code.) It also doesn't help viewing so zoomed in.. Also, gradients don't look so good on bigger quads (the GL name for rectangles)

The outline box draws funny for some reason on one or two of my machines. Misses a pixel on one of the top corners. Still trying to work out why.
Now if the program could just automatically transport the SD card back to the machine so I don't keep forgetting to put the card back into the CPAP machine....
There exists a magical wireless enabled SD card device that might very well fullfil our needs here..
http://www.eye.fi/

I wonder if anyone has tried one on a cpap machine yet?

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Mon Jul 18, 2011 5:17 pm

jedimark wrote: Each video card has a different method of drawing this.. Is this with AntiAliasing enabled (view menu) everywhere else? I haven't added the blending bit to Session Times yet.. (it's only copy and paste stuff, but I've been busy elsewhere in the code.) It also doesn't help viewing so zoomed in.. Also, gradients don't look so good on bigger quads (the GL name for rectangles)

The outline box draws funny for some reason on one or two of my machines. Misses a pixel on one of the top corners. Still trying to work out why.
Looks the same aliased or not.

I've noticed the weird outline box when the highlighted area is very small myself.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Mon Jul 18, 2011 5:32 pm

archangle wrote:
jedimark wrote: Each video card has a different method of drawing this.. Is this with AntiAliasing enabled (view menu) everywhere else? I haven't added the blending bit to Session Times yet.. (it's only copy and paste stuff, but I've been busy elsewhere in the code.) It also doesn't help viewing so zoomed in.. Also, gradients don't look so good on bigger quads (the GL name for rectangles)

The outline box draws funny for some reason on one or two of my machines. Misses a pixel on one of the top corners. Still trying to work out why.
Looks the same aliased or not.

I've noticed the weird outline box when the highlighted area is very small myself.
Apart from the missing bottom left pixel they look normal to me.. (weird, mines missing one on top left..)

Is your monitor on an angle? I keed I keed.

I think I need to add an extra vertex to the line-loop, OpenGL doesn't know how to play connect the dots very well.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
Pugsy
Posts: 64936
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

Re: SleepyHead Qt v0.8 alpha

Post by Pugsy » Mon Jul 18, 2011 5:39 pm

FWIW I gave the very latest QT version a try today. I did not remove the first QT version just to see if I crashed and burned. Nothing exciting happened. I couldn't remember if I was supposed to for sure remove that app folder (which I can't find now) since I think I read it got moved and too lazy to read back in the thread to tell me where.

Everything seems to work for me. No problems on my end. I turned things off and on and bounced around in the daily charts without any issues.

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: Mask Bleep Eclipse https://bleepsleep.com/the-eclipse/
I may have to RISE but I refuse to SHINE.

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Mon Jul 18, 2011 6:23 pm

Pugsy wrote:FWIW I gave the very latest QT version a try today. I did not remove the first QT version just to see if I crashed and burned. Nothing exciting happened. I couldn't remember if I was supposed to for sure remove that app folder (which I can't find now) since I think I read it got moved and too lazy to read back in the thread to tell me where.

Everything seems to work for me. No problems on my end. I turned things off and on and bounced around in the daily charts without any issues.
I don't think I did that much on the importer front, so it should be fine.. I mainly was working in the Oximetry tab and graphs..

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
Dojers
Posts: 90
Joined: Mon Jun 27, 2011 1:51 pm

Re: SleepyHead Qt v0.8 alpha

Post by Dojers » Mon Jul 18, 2011 7:10 pm

jedimark wrote:
Dojers wrote:As long as we're discussing this software, can someone explain to me why I go to import my data but it won't see it but the next day it'll pick up BOTH days? Thursday it said no data for Thursday (well, it was Friday when I checked it but you know what I mean ) but when I imported the data Saturday for Friday both Thursday AND Friday showed up. Now today, Saturday's didn't show up but I'm betting that tomorrow when I import, both days will import. Am I doing something wrong?

Thanks
Do you mean the calendar month highlight or the actual data is not showing up? If it's the calendar highlight, try changing months back and forth and see if it comes back..

If you don't select the right folder, it won't import.. in the current windows builds it just does nothing, so it's not exactly easy to see if you imported or not. Import looks for specific clues to guess the correct data type, like the P-Series folder, DATALOG folder, SPO2Review.ini files, etc... I just added a nag message to the source if the selected folder doesn't contain what it's looking for.

SleepyHead has two methods of splitting multiple sessions into days, one is a simple noon split, which works like Encore/ResScan, and the other, is optimized more for shift workers.. (Noon splits still, but combines close sessions) When this setting is changed (currently in View Menu), you need to exit and reload, as it sorts the sessions every time the app starts. My split method is default because it works in majority of cases. (The others only really handy for comparing to Encore/Rescan reports) Later on I'll optionalize the split hour, and this will be able to be adjusted with a slider buried in preferences.
The actual data - and it didn't show up for Sunday either - so something has gone squirrelly for me Gotta figure out what I've got going on here.....gotta be something simple cuz it worked up to just a little bit ago.....maybe I did something wrong although I don't know what.
I love sleep because it is both pleasant and safe to use. - Fran Lebowitz HA!! Yeah right - not when you're a hosehead!

User avatar
Dojers
Posts: 90
Joined: Mon Jun 27, 2011 1:51 pm

Re: SleepyHead Qt v0.8 alpha

Post by Dojers » Mon Jul 18, 2011 7:14 pm

GumbyCT wrote: As for Dojers data not showing - how soon did you remove the SD card from the machine? This is not real-time data. The machine needs to first know that you are finished to end the session then do the math. So if you immediately remove the card the data prob won't be there. But then put the card back in and the session and math are complete (by then) then written to the card.

HTH
No, I get up, turn off the machine. Go to the bathroom, get my meds for the day, then when I turn on the computer I get my card and prepare to insert it. Although this morning I DID go quicker which would explain why Sunday didn't show but wouldn't explain why Saturday's still wasn't there. *shrug* It'll get figured out, I got faith.

PS. I need to cross my legs cuz that's how I sit but I had cortisone shots in both knees today and they aren't quite ready for the pressure of a leg on either of them
I love sleep because it is both pleasant and safe to use. - Fran Lebowitz HA!! Yeah right - not when you're a hosehead!

User avatar
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Mon Jul 18, 2011 7:16 pm

Here's the weird highlight I'm seeing.

Image

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Mon Jul 18, 2011 7:17 pm

archangle wrote:I just tried the oximeter live with my CMS50D+. Looks pretty good.

Nits to pick.

1) I think the line should be thicker for SPO2 and Pulse.
2) The vendor's software greys out the line when data is invalid/suspect/whatever. Nice feature.
3) When I started it, I thought I wasn't getting SPO2 and Pulse data. It just took a while to show up and then it was just a little line at the left. User education issue, maybe.
4) SPO2 scale should probably go from 70 to 100%, not 0 to 100.
1) AntiAliasing should make it thicker.. not all video cards support it.. (my crummy old intel 915 graphics chip doesn't)
EDIT: Appears you already have it turned on.. How much thicker do you mean? I find Spo2 looks a little tacky..

2) ?? I haven't used the SPO2 live view software yet.. I do know how to get the error data though, so not at all impossible..

3) Maybe I should zoom in and follow automatically? You can zoom these while it's recording.. (it will make the top one jump, which kinda gives a sneaky overview, so it can stay while the rest of the bugs are being worked out)

4) Probably should separate into two graphs. I kinda don't mind it compacted together. An option perhaps will suit here.. If it's separated, scale will be fully automatic..
Edit: What the? I must be on crack.. I get what you meant now.. Yes.. I agree. perhaps a little lower than 70 though.. Some people get scary drops.. I can't really autoscale while it's recording..

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Last edited by jedimark on Mon Jul 18, 2011 7:27 pm, edited 2 times in total.
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Mon Jul 18, 2011 7:20 pm

archangle wrote:Here's the weird highlight I'm seeing.

Image

The sorta "Page Turn" thing when you change direction? It's from the rounded rectangle draw routines.
I kinda liked it when I first did it, but now it's starting to annoy me too.

I can kill the rounded corners and make the box square and that will go away. plus will be quicker to draw that way..

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
Dojers
Posts: 90
Joined: Mon Jun 27, 2011 1:51 pm

Re: SleepyHead Qt v0.8 alpha

Post by Dojers » Mon Jul 18, 2011 7:26 pm

Btw, the problem with the software no longer matters - the new release works
I love sleep because it is both pleasant and safe to use. - Fran Lebowitz HA!! Yeah right - not when you're a hosehead!

User avatar
nudave
Posts: 44
Joined: Fri Jul 01, 2011 5:56 am
Location: Rochester, NY

Re: SleepyHead Qt v0.8 alpha

Post by nudave » Mon Jul 18, 2011 7:29 pm

Not sure if this feature has been requested yet or not...but someway to highlight the waveform and in the bottom status bar give the length of time that's selected.

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Mon Jul 18, 2011 7:42 pm

nudave wrote:Not sure if this feature has been requested yet or not...but someway to highlight the waveform and in the bottom status bar give the length of time that's selected.
Hmm.. That be a good idea.. plus it's extra easy to do

The status bar isn't used for much else on the left hand side, so this probably is a very good purpose..

I guess show it in [M]MM:SS:mmmm ?

Question is what happens when Oximeter stuff is selected, which is not synced with the other graphs?

I could just show the time of whatever last area was selected..

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code