Top Topics
Perfect, thankyou again.
Thankyou again for you detailed reply.
For the blank cells. When we open the profusion xml file (e.g., 0001) in excel the format gives us a series of blank cells before we get values for sleep stage. We think it may just be the way excel converts the xml but we want to confirm incase the blank cells are important.
Thanks.
Perfect thankyou so much.
I had a few more clarification, in the XML files there are several blank cells before I start to see values in the sleep stage. Would the start time be at the top (i.e., first blank cell) or when the first number in the sleep stage column appears? (i.e., would we skip the blank cells? Are they indicitive of a sleep stage e.g., active?)
The total time for the PSG recording would be until the values are present in the sleep staging column? Would there be a reference time length for each PSG recording?
Thanks again for all your help.
Hi,
I had a follow up clarification question about the PSG data. As I understand it is 1 night only (from what I can see the first night of actigraphy).
For the XML file it only mentions the epoch length, the sleep stage measurements seem to start quite a bit into the file. Is it safe to assume that the the first sleep stage measurement in the XML corresponds to the start time for the PSG mentioned in the overlap document (i.e., the first overlap time indicated in the reference document)?
Thank-you for you help.
Perfect! Thankyou for your assistance.
I noticed a topic was started quite a while ago about synchronizing the MESA actigraphy and PSG data. (https://sleepdata.org/forum/joint-psg-actigraphy). I was wondering if it would be still possible to get the conversation and links you mentioned in the past posts as I am also in a similar situation.
My email address is
I also had some addition questions:
From my understanding I would import the XML annotations to the actigraphy CSV based on the epoch allignment in the reference document (i.e. this would be more or less a cut and paste?).
I also found these csv files which look like they have sleep wake data "annotations-rpoints" can these be merged with the respective ACT data. I believe they have a sleep stage variable which I assume is the scored (by technician) sleep wake and stage scoring derived from PSG.
Would there be any other variables or recommendations that would give me sleep/wake or would be directly comparable to the actigraphy data?
Thank you in advance for you assistance.
I am currently looking through the MESA Actigraphy data and needed some clarification on some of the variables.
Specifically, the Activity Variable which is supposed to the be the activity count.
Is this variable by chance a ZCM (zero-crossing method) or PMI (process machine interaction) score derived from the accelerometer activity form the actigraph band? If neither where is the count derived from and what are the units etc.? Would it be possible to get ZCM or PMI or a similar variable perhaps through analyses etc.?
Thank-you in advance for your assistance.