- IMPORTANT: fixes installation issues under Python3 using pip install (full support must yet be tested)
- prepared mode-dependent returns for functions with plotting features
- fixes index out of range error in tools.segmentation() function
- fixes BioSPPy import in hrv.py
- added ReadTheDocs documentation
- added new frequency domain method (Autoregressive)
- fixed missing histogram figure visualization under macOS
- fixed 'pyhrv.tools.check_input()' function where input parameter was changed during the computation
- updated docstrings and added documentation
- added references
- improved hrv() function
- improved nonlinear() function
- changed toolbox name to 'pyhrv'
- added install process using
pip
- added frequency domain parameters and method (Welch's method and Lomb-Scargle)
- added
frequency_domain()
module level function - added frequency parameter computation in
hrv()
package level function - rearranged file structure in repository
- added
references.txt
file - improved
hrv_report()
function - updated
hrv_keys().json
file - minor bug fixes
- added 50 sample NNI series extracted from the MIT-BIH NSRDB database
- updated sample HRV report and exports
- fixed bug in
pyhrv.tools.segmentation()
function where NNI overlapping from one segment to the other got dropped
-
added new time domain HRV parameters -> geometrical parameters
- Triangular Index: hrv.time_domain.triangular_index()
- TINN: hrv.time_domain.tinn()
- Histogram (helper function powered by NumPy and Matplotlib): _hrv.time_domain._get_histogram()
- Geometrical Parameters (calls tinn() and triangular_index() as those parameters are rarely used alone): hrv.time_domain.geometrical_parameters()
-
updated hrv.time_domain.time_domain() to also return the new geometrical parameters
-
added new nonlinear parameters -> sample entropy and detrended fluctuation analysis (DFA)
- Sample Entropy: hrv.nonlinear_parameters.sample_entrop()
- DFA: hrv.nonlinear_parameters.dfa()
- Both functions powered by the nolds
-
updated hrv.nonlinear_parameters.nonlinear() to also return the new nonlinear parameters
-
added new tools function -> HRV Report
- Entirely new HRV report generator: hrv.tools.hrv_report()
- generates reports in .txt or .csv format
-
added_ check_fname() function to detect existing files for the generated HRV exports and HRV reports and automatically generate a new file name to avoid overwriting existing files (e.g. if 'Sample.txt' exists, it will 'increment' the new file name to 'Sample_1.txt' to avoid overwriting 'Sample.txt')
-
added 'SampleReport.txt' and 'SampleReport.csv' to the './hrv/files/'
-
updated 'SampleExport.json' in './hrv/files/'
-
fixed minor fixed in some tools functions
-
improved compatibility with Python 3
-
updated example sections in each module
- restructured entire repository
- tested functionality and validated results for the time_domain, nonlinear_parameters, and tools modules
- fixed example scripts at the end of each module
- added new functions to the tools module: hrv_import(), hrv_export(), check_input()
- fixed bugs in the tools.segmentation() function
- time domain functions
- poincaré nonlinear functions
- basic tools for HRV functions