Apnea Board Forum - CPAP | Sleep Apnea
Somnopose data in OSCAR (time shift) - Printable Version

+- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums)
+-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area)
+--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum)
+--- Thread: Somnopose data in OSCAR (time shift) (/Thread-Somnopose-data-in-OSCAR-time-shift)



Somnopose data in OSCAR (time shift) - georgelewisray - 08-30-2019

Problem: 
Somnopose data is time shifted when into OSCAR.
The shift amount corresponds to my time zone EDT (-5 hours from Greenwich).


I am using Somnopose to: (a)  track sleep position and then (b) import the data into OCSAR
This same problem was experienced with Sleepyhead but at the time I was feeling much better and did not pursue it and put Somnopose aside. Since then I have had a big relapse into super fatigue and will be upgrading to a BiLEVEL any day now. This motivates me to pursue the possibility of positional factors. 
The developer of Somnopose is said to be available and responsive but I have decided to ask the question here first. The local time is included in the data file so time zone is being accounted for at some level.

[attachment=15024]

[attachment=15025]

Thanks,
George

OSCAR: MacBook Pro, MacOS 10.14.6, 16Gb
Somnopose: iPhone 5SE, IOS 13.1 beta
***************************************************************************************
Data from Somnopose export email and attached CSV file
***************************************************************************************
***************************************************************************************
(Email text sent by Somnopose export)

SomnoPose 2.0
Device name: G&MB-SE
Data start time: Aug 30, 2019 at 00:02:34 Eastern Daylight Time
Data end time:  Aug 30, 2019 at 07:36:05 Eastern Daylight Time
Data time span (start to end):      ‣7:33:31
Recorded data time (excluding gaps): ‣7:33:27
Number of samples: 13687                    


DATA COLUMNS IN ATTACHMENT                    

Timestamp: Time and date of the data sample (as seconds since the first instant of 1 January 2001, GMT)                    

Orientation: Sleep position, represented by side-to-side angle of the device in degrees, -180 to 180. Zero for face up, positive values for facing right, negative values for facing left.                    

Inclination: Upright angle of the device (and user) in degrees, 0 to 180. Zero for an upright position (e.g., user standing), 90 for a horizonal position (user lying down), 180 for the unlikely upside-down situation.                   

Time_of_day: Time of the data sample as hours, minutes, and seconds, derived from the Timestamp value, using the device's time zone setting. It gives no additional information, but is provided in a human-readable format for convenient reference.                    

Date: Date of the data sample as year, month and day, derived from the Timestamp value. It gives no additional information, but is provided in a human-readable format for convenient reference. To reduce file size, this is not included on every line.



***************************************************************************************
***************************************************************************************
(Several of first lines in CSV file)

Timestamp,Orientation,Inclination,Time_of_day,Date
588830554.53,-45.66,15.93,00:02:34,
588830556.51,-10.08,24.66,00:02:36,
588830558.50,-6.47,27.29,00:02:38,
588830560.49,174.98,33.69,00:02:40,
588830562.48,68.65,55.62,00:02:42,
588830564.46,53.85,67.61,00:02:44,
588830566.65,2.02,47.57,00:02:46,
588830568.64,6.71,53.17,00:02:48,
588830570.63,7.93,61.01,00:02:50,
588830572.62,8.57,55.81,00:02:52,
588830574.61,-1.70,51.48,00:02:54,
588830576.60,-1.74,47.11,00:02:56,
588830578.59,5.42,43.62,00:02:58,
588830580.58,-41.91,52.95,00:03:00,2019-08-30
588830582.57,-39.21,55.95,00:03:02,
588830584.56,-91.92,44.51,00:03:04,


*********************



RE: Somnopose data in OSCAR (time shift) - pholynyk - 08-30-2019

I was unaware that anybody still used the Somnopose or that it had a time problem.
It is likely that it is the same problem the oximetry data had, so I will look into that and get it fixed for the next release.

Thanks for letting us know.

Added to Mantis - Issue #190