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.
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
andpywearable.visualization.get_sleep_grid_and_stats
have been renamed aspywearable.visualization.get_stress_heatmap
andpywearable.visualization.get_sleep_performance
, which are more general (e.g. allowing to specify time period considered overall) and are particular instances of the more generalpywearable.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.