ghammad / pyActigraphy

Python-based open source package for actigraphy data analysis

Home Page:https://ghammad.github.io/pyActigraphy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

For Empatica E4

abeljacob opened this issue · comments

Hi Greg,

I Want to use PyActigraphy package for Empatica E4 Application. Can you please guide me to if it is possible to make your code work for Empatica data if possible please?

Regards,
Abel

Hello @abeljacob

Sorry for the late reply.

There are basically two ways to ingest data in pyActigraphy:

  1. there is a "reader" function dedicated to the file format/actigraphy device you use (e.g. MotionWatch8 from CamNtech: pyActigraphy.io.read_raw_mtn)
  2. you read the data and format them prior to using pyActigraphy and manually create a "BaseRaw" object. There is an example for this here.

For Empatica E4, there is no such "reader" function. So, if you are in a hurry, option 2. is the way to go. However, on a longer term, it would be good to create such "reader" for Empatica. Here, there are also 2 options:

  1. you check, for instance, how the reader is implemented for MotionWatch8 or Actiwatch Spectrum and you try to create on for Empatica. I'll be happy to review a PR.
  2. you send me an anonymised output file from Empatica and I'll try to write a reader, provided that the output file has an open format.

Usually 1. is faster than 2... But I'd be happy to help you further in this process.

Hope that helps.

Greg

Hi Greg,

Thank you so much for getting back to me on this. I will work on trying and recreating it for Empatica. Im happy to send you an anonymised watch data too so that would could help in case i failed to recreate your reader for Empatica.

Regards,
Abel Jacob.

Hello @abeljacob

Looking forward to your PR (or helping you with crafting one).

I'd be happy to have a look at the E4 output file. Just had a look at the Empatica doc and the device seems pretty nice (a lot of complementary sensors).

Greg

Hi Greg,

just a follow up question what do you think on sleep analysis using multi sensor data other than just actigraphy data?

I believe there is just so much that I can learn from you and I'm excited at the prospects of that.

Regards,
Abel Jacob.