dado93 / pywearable

Python package for extraction, visualization, and analysis of physiological data collected through wearable sensors.
https://pywearable.readthedocs.io/en/latest/
MIT License
6 stars 1 forks source link

64 eliminate dependency from july #72

Closed Vaeliss closed 5 months ago

Vaeliss commented 8 months ago

Upon further inspection of the library july, it was decided to keep it, but to improve its usage within the visualization module of pywearable.

Functions pywearable.visualization.get_stress_grid_and_stats and pywearable.visualization.get_sleep_grid_and_stats have been renamed as pywearable.visualization.get_stress_heatmap and pywearable.visualization.get_sleep_performance, which are more general (e.g. allowing to specify time period considered overall) and are particular instances of the more general pywearable.visualization.get_metric_heatmap, which is able to create a heatmap over a specified time period, for a specified user, of (almost) all pywearable metrics, simply specifying the function to be used for the calculation of such metric.

Some improvements were added to the hypnogram plot, allowing to specify some plotting params. Finally, dependency from hrvanalysis, in accordance to other recent changes, was eliminated.

dado93 commented 8 months ago

We need to first merge the content of the cardiac-features into the 0.1x branch before merging this pull request