Skip to content

v4.2.0

Latest
Compare
Choose a tag to compare
@tompollard tompollard released this 21 Jan 20:45
· 2 commits to main since this release
6e27547

What's Changed

Add support for Numpy 2.0
Fixes were added to address changes to type promotion that led to overflow errors (e.g. #493).

Fix UnboundLocalError in GQRS algorithm
Fixes the GQRS algorithm to address an UnboundLocalError.

Support write directory in csv_to_wfdb
write_dir can now be specified when calling csv_to_wfdb.

Use uv for for package management
Moves package management from poetry to uv.

Fix misordered arguments in util.lines_to_file
Fixes misordered arguments in util.lines_to_file.

Allow signals to be written with unique samples per frame
Adds capability to write signal with unique samps_per_frame to wfdb.io.wrsamp.

Allow expanded physical signal in calc_adc_params
Updates calc_adc_params to allow an expanded physical signal to be passed. Previously only a non-expanded signal was allowed.

Allow selection of channels when converting to EDF
Fixes the wfdb-to_edf() function to support an optional channels argument.

Migrates Ricker wavelet from SciPy to WFDB after deprecation
The Ricker wavelet (scipy.signal.ricker) was removed in SciPy v1.15, so the original implementation was migrated to the WFDB package.

Miscellaneous style and typing fixes
Various fixes were made to code style and handling of data types.

New Contributors

Full Changelog: v4.1.2...v4.2.0