aminsinichi / wearable-hrv Goto Github PK
View Code? Open in Web Editor NEWA Python package for the validation of heart rate and heart rate variability in wearables
License: MIT License
A Python package for the validation of heart rate and heart rate variability in wearables
License: MIT License
wearable-hrv/wearablehrv/individual.py
Line 1552 in ac22c37
!
to mark the first line as command)The following functions generate warning messages due to dependency package updates:
individual.import_data ()
individual.chop_data ()
individual.display_changes()
group.matrix_plot()
group.density_plot()
group.heatmap_plot()
It does not produce a warning, but seems like something has changed.group.bonferroni_correction_icc()
Using pip install to install the package in a clean env results in errors during import.
Specficially, ImportError: cannot import name 'LombScargle' from 'astropy.stats'
. This is likely related to the deprecation mentioned here (lightkurve/lightkurve#535)
It seems like the package does not support recent astropy versions. That should be specified in the setup.py to ensure that compatible versions are installed (or even better, the newer versions of astropy should be supported).
Downgrading astropy to <6.0 fixed the issue for now
At the moment the testfiles try to add hardcoed paths to the sys.path
That should be adapted to make it possible to run the tests on every system without modifieing the files
While reading through the paper, I was missing a little bit more thoprough comparison to other available packages to clearer highlight what this package adds. E.g. how much easier is using this package than using the hrv-analysis
package directly.
Also It would be great, if you could add citations to the paper that provide support for the evaluation metrics that the package provides. Basically, to provide some justification why you chose the set of metrics and plots that are included in the package for comparison of the systems.
In the paper and the package the term CRITERION DEVICE is used. At least for me (and I also couldn't find anything with a quick google search), the use of the term in this context was new. I think a more common name would be "reference device" or "ground-truth device"
Great job publisheing the package on Pypi!
Here a couple of suggestions to further improve packaging and distribution:
Overall the code quality looks great, but here are a couple of smaller things that could be improved:
Path
instead of strings for file/folder paths -> This will solve a bunch of issues caused by the differences between operating systems. For example it would make .replace('\\', '/')
obsolote in the exampleindividual
file)ruff
or black
As per JOSS requirements a package should have Contribution Guidelines:
Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.