Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For Empatica E4 #140

Open
abeljacob opened this issue Oct 2, 2023 · 4 comments
Open

For Empatica E4 #140

abeljacob opened this issue Oct 2, 2023 · 4 comments

Comments

@abeljacob
Copy link

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

@ghammad
Copy link
Owner

ghammad commented Oct 6, 2023

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

@abeljacob
Copy link
Author

abeljacob commented Oct 6, 2023

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.

@ghammad
Copy link
Owner

ghammad commented Oct 6, 2023

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

@abeljacob
Copy link
Author

abeljacob commented Oct 6, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants