pyActigraphy icon indicating copy to clipboard operation
pyActigraphy copied to clipboard

Visualization of Actigraphy data

Open loukasilias opened this issue 2 years ago • 2 comments

Hello,

In the current tutorials/implementations, all the days are visualized in one diagram. Could I visualize one day per diagram? I mean something like this: https://s3.amazonaws.com/actigraphcorp.com/wp-content/uploads/2018/02/19210723/screenshot-al-inclineview-v5.png

Thank you. Best regards, Loukas

loukasilias avatar Mar 24 '23 09:03 loukasilias

Hello @loukasilias

Indeed, having access to a real actogram visualisation would be nice.

At first, I did not want to develop visualisation function for pyActigraphy because I did not want to tie the package to a specific plotting package and let the users decide which one they'd like to use.

However, visualisation is an important part of the analysis process.

Therefore, I started to develop some helper functions for the plotly package. The code is available in the 'feature/viz' branch: https://github.com/ghammad/pyActigraphy/tree/feature/viz

Hopefully,this dev will be part of the next release. For the moment, I can only advice you to 'borrow' the code from this branch: https://github.com/ghammad/pyActigraphy/blob/feature/viz/pyActigraphy/viz/viz.py#L22

Hope that helps.

Cheers,

Greg

ghammad avatar Mar 29 '23 13:03 ghammad