Skip to content

Commit

Permalink
Merge pull request #180 from pfizer-opensource/development
Browse files Browse the repository at this point in the history
Version 0.16.14
  • Loading branch information
LukasAdamowicz authored Oct 25, 2024
2 parents 67beee0 + 5c77360 commit 9b41b62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'scikit-digital-health',
'c',
version: '0.16.13.post2',
version: '0.16.14',
license: 'MIT',
meson_version: '>=1.1',
)
Expand Down
10 changes: 5 additions & 5 deletions src/skdh/activity/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1026,10 +1026,10 @@ def _compute_wear_wake_activity(
raise ValueError("Sed/Nonsed masks do not equal input size")

# add the time to the results
results[f'{filt_prefix}_light'] += mask_l.sum() / epm
results[f'{filt_prefix}_moderate'] += mask_m.sum() / epm
results[f'{filt_prefix}_vigorous'] += mask_v.sum() / epm
results[f'{filt_prefix}_sedentary'] += mask_s.sum() / epm
results[f'{filt_prefix}_nonsedentary'] += mask_ns.sum() / epm
results[f'{filt_prefix}_light'][day_n] += mask_l.sum() / epm
results[f'{filt_prefix}_moderate'][day_n] += mask_m.sum() / epm
results[f'{filt_prefix}_vigorous'][day_n] += mask_v.sum() / epm
results[f'{filt_prefix}_sedentary'][day_n] += mask_s.sum() / epm
results[f'{filt_prefix}_nonsedentary'][day_n] += mask_ns.sum() / epm


0 comments on commit 9b41b62

Please sign in to comment.