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

Creation of a reader for Actical #76

Open
amondino opened this issue Dec 2, 2021 · 2 comments
Open

Creation of a reader for Actical #76

amondino opened this issue Dec 2, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@amondino
Copy link

amondino commented Dec 2, 2021

Hi! I am trying to read Actical files (AWC) but the script does not support them
I would really appreciate your help!

@ghammad
Copy link
Owner

ghammad commented Dec 2, 2021

Hello @amondino.

Thank you for the request and for the test files.

Apparently, the .awc files are extremely similar to the .awd (Actiwatch 4) files. Except that the header contains some extra lines compared to the .awd header.

Short-term solution: use the current read_raw_awd function with the parameter header_size=12:

raw = pyActigraphy.io.read_raw_awd(path_to_my_favourite_awc_file, header_size=12)

Long-term solution: I'll make a wrapper around the read_raw_awd function, named read_raw_awc for example.

May I ask you to confirm that with your .awc files, the short-term fix also work?

Greg

@amondino
Copy link
Author

amondino commented Dec 3, 2021

Wonderful! It worked just fine! Thank you so much!

@ghammad ghammad added the enhancement New feature or request label Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants