biosigpy 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- biosigpy-0.3.1/CHANGELOG.md +49 -0
- biosigpy-0.3.1/LICENSE +674 -0
- biosigpy-0.3.1/MANIFEST.in +8 -0
- biosigpy-0.3.1/PKG-INFO +59 -0
- biosigpy-0.3.1/README.md +25 -0
- biosigpy-0.3.1/biosiglib.lock +1 -0
- biosigpy-0.3.1/docs/api/ecg/baselineremove.md +11 -0
- biosigpy-0.3.1/docs/api/ecg/pantompkins.md +7 -0
- biosigpy-0.3.1/docs/api/ecg/sloperange.md +9 -0
- biosigpy-0.3.1/docs/api/hrv/fdmetrics.md +11 -0
- biosigpy-0.3.1/docs/api/hrv/fillgaps.md +9 -0
- biosigpy-0.3.1/docs/api/hrv/ipfm.md +9 -0
- biosigpy-0.3.1/docs/api/hrv/osp.md +9 -0
- biosigpy-0.3.1/docs/api/hrv/removefp.md +5 -0
- biosigpy-0.3.1/docs/api/hrv/tdmetrics.md +7 -0
- biosigpy-0.3.1/docs/api/index.md +32 -0
- biosigpy-0.3.1/docs/api/tools/lpd-filter.md +5 -0
- biosigpy-0.3.1/docs/api/tools/medfilt-threshold.md +5 -0
- biosigpy-0.3.1/docs/api/tools/nan-filter.md +5 -0
- biosigpy-0.3.1/docs/api/tools/nan-filtfilt.md +5 -0
- biosigpy-0.3.1/docs/api/tools/snap-to-peak.md +5 -0
- biosigpy-0.3.1/docs/index.md +16 -0
- biosigpy-0.3.1/docs/installation.md +38 -0
- biosigpy-0.3.1/examples/README.md +84 -0
- biosigpy-0.3.1/examples/_support/__init__.py +1 -0
- biosigpy-0.3.1/examples/_support/figures.py +67 -0
- biosigpy-0.3.1/examples/ecg/baselineremove_example.py +158 -0
- biosigpy-0.3.1/examples/ecg/pantompkins_example.py +131 -0
- biosigpy-0.3.1/examples/ecg/sloperange_example.py +173 -0
- biosigpy-0.3.1/examples/fixtures/ecg/medicom_mtd_ecg_respiration.csv +24902 -0
- biosigpy-0.3.1/examples/fixtures/ecg/medicom_mtd_r_wave_timing.csv +139 -0
- biosigpy-0.3.1/examples/hrv/fdmetrics_example.py +118 -0
- biosigpy-0.3.1/examples/hrv/fillgaps_example.py +93 -0
- biosigpy-0.3.1/examples/hrv/ipfm_example.py +89 -0
- biosigpy-0.3.1/examples/hrv/osp_example.py +140 -0
- biosigpy-0.3.1/examples/hrv/removefp_example.py +97 -0
- biosigpy-0.3.1/examples/hrv/tdmetrics_example.py +55 -0
- biosigpy-0.3.1/mkdocs.yml +60 -0
- biosigpy-0.3.1/pyproject.toml +53 -0
- biosigpy-0.3.1/pytest.ini +3 -0
- biosigpy-0.3.1/requirements-dev.txt +1 -0
- biosigpy-0.3.1/setup.cfg +4 -0
- biosigpy-0.3.1/src/biosigpy/__init__.py +43 -0
- biosigpy-0.3.1/src/biosigpy/_version.py +3 -0
- biosigpy-0.3.1/src/biosigpy/ecg/__init__.py +18 -0
- biosigpy-0.3.1/src/biosigpy/ecg/baselineremove.py +164 -0
- biosigpy-0.3.1/src/biosigpy/ecg/pantompkins.py +160 -0
- biosigpy-0.3.1/src/biosigpy/ecg/sloperange.py +192 -0
- biosigpy-0.3.1/src/biosigpy/hrv/__init__.py +28 -0
- biosigpy-0.3.1/src/biosigpy/hrv/_fillgaps_debug.py +204 -0
- biosigpy-0.3.1/src/biosigpy/hrv/fdmetrics.py +301 -0
- biosigpy-0.3.1/src/biosigpy/hrv/fillgaps.py +403 -0
- biosigpy-0.3.1/src/biosigpy/hrv/ipfm.py +196 -0
- biosigpy-0.3.1/src/biosigpy/hrv/osp.py +261 -0
- biosigpy-0.3.1/src/biosigpy/hrv/removefp.py +65 -0
- biosigpy-0.3.1/src/biosigpy/hrv/tdmetrics.py +114 -0
- biosigpy-0.3.1/src/biosigpy/tools/__init__.py +15 -0
- biosigpy-0.3.1/src/biosigpy/tools/_nan_processing.py +133 -0
- biosigpy-0.3.1/src/biosigpy/tools/_validation.py +61 -0
- biosigpy-0.3.1/src/biosigpy/tools/lpd_filter.py +220 -0
- biosigpy-0.3.1/src/biosigpy/tools/medfilt_threshold.py +94 -0
- biosigpy-0.3.1/src/biosigpy/tools/nan_filter.py +67 -0
- biosigpy-0.3.1/src/biosigpy/tools/nan_filtfilt.py +89 -0
- biosigpy-0.3.1/src/biosigpy/tools/snap_to_peak.py +118 -0
- biosigpy-0.3.1/src/biosigpy.egg-info/PKG-INFO +59 -0
- biosigpy-0.3.1/src/biosigpy.egg-info/SOURCES.txt +86 -0
- biosigpy-0.3.1/src/biosigpy.egg-info/dependency_links.txt +1 -0
- biosigpy-0.3.1/src/biosigpy.egg-info/requires.txt +18 -0
- biosigpy-0.3.1/src/biosigpy.egg-info/top_level.txt +1 -0
- biosigpy-0.3.1/tests/conformance.py +329 -0
- biosigpy-0.3.1/tests/conftest.py +67 -0
- biosigpy-0.3.1/tests/test_baselineremove.py +105 -0
- biosigpy-0.3.1/tests/test_conformance_coverage.py +145 -0
- biosigpy-0.3.1/tests/test_example_figures.py +53 -0
- biosigpy-0.3.1/tests/test_fdmetrics.py +98 -0
- biosigpy-0.3.1/tests/test_fillgaps.py +114 -0
- biosigpy-0.3.1/tests/test_ipfm.py +84 -0
- biosigpy-0.3.1/tests/test_lpd_filter.py +79 -0
- biosigpy-0.3.1/tests/test_medfilt_threshold.py +63 -0
- biosigpy-0.3.1/tests/test_nan_filter.py +78 -0
- biosigpy-0.3.1/tests/test_nan_filtfilt.py +78 -0
- biosigpy-0.3.1/tests/test_osp.py +83 -0
- biosigpy-0.3.1/tests/test_package_metadata.py +15 -0
- biosigpy-0.3.1/tests/test_pantompkins.py +138 -0
- biosigpy-0.3.1/tests/test_removefp.py +41 -0
- biosigpy-0.3.1/tests/test_sloperange.py +129 -0
- biosigpy-0.3.1/tests/test_snap_to_peak.py +75 -0
- biosigpy-0.3.1/tests/test_tdmetrics.py +38 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
This file is the authoritative release history. GitHub Releases reuse the corresponding version section.
|
|
4
|
+
|
|
5
|
+
## 0.3.1 - 2026-08-13
|
|
6
|
+
|
|
7
|
+
- Added trusted publishing to release the verified wheel and source distribution to PyPI without long-lived credentials.
|
|
8
|
+
- Reused the exact tested distributions for both the GitHub and PyPI releases, with PyPI provenance attestations generated by the publishing action.
|
|
9
|
+
- Documented direct installation from PyPI with `python -m pip install biosigpy` while retaining GitHub release artifacts as a fallback.
|
|
10
|
+
|
|
11
|
+
## 0.3.0 - 2026-08-12
|
|
12
|
+
|
|
13
|
+
- Simplified the public documentation to Home, Installation, and API; moved contributor guidance to `CONTRIBUTING.md` and linked examples directly from function pages.
|
|
14
|
+
- Replaced hardcoded package versions in installation documentation with the latest GitHub release.
|
|
15
|
+
- Replaced `conformance.json` with a one-line `biosiglib.lock` against one exact Biosiglib commit; removed per-specification statuses, entry points, and duplicated release and repository metadata.
|
|
16
|
+
- Discover every specification and shared case in the pinned Biosiglib commit, rejecting specifications without cases and uncollected cases without a support filter.
|
|
17
|
+
- Changed the Biosiglib pin workflow to validate a commit before release rather than propagating partial support after release.
|
|
18
|
+
- Implemented the shared `ecg.baselineremove` contract with structured warning metadata, explicit finite-real validation, canonical fiducial normalization, local averaging, and MATLAB-compatible spline interpolation and extrapolation.
|
|
19
|
+
- Added all eight shared conformance cases, public re-exports, API documentation, and a direct Python port of the Biosigmat baseline-removal example.
|
|
20
|
+
- Implemented the sampled Biosiglib `hrv.ipfm` contract with the canonical edge-stabilized B-spline, uniform output grid, and optional TVIPFM signal.
|
|
21
|
+
- Consumed all six shared `hrv.ipfm` cases directly from Biosiglib, including the Biosigmat-backed nonuniform-event and TVIPFM fixture.
|
|
22
|
+
- Added an executable IPFM example aligned with the Biosigmat workflow and using the same first 100 Medicom MTD event times.
|
|
23
|
+
- Pinned conformance to the Biosiglib v2.0.0 release target at commit `9f2370451c6b77296c2714f719132edb7fa034c0`.
|
|
24
|
+
|
|
25
|
+
## 0.2.0 - 2026-08-04
|
|
26
|
+
|
|
27
|
+
[GitHub release](https://github.com/BSICoS/biosigpy/releases/tag/v0.2.0)
|
|
28
|
+
|
|
29
|
+
- Implemented the Biosiglib `hrv.removefp` contract with strict input order, fixed adaptive-baseline settings, and simultaneous one-pass removal.
|
|
30
|
+
- Implemented the Biosiglib `hrv.fillgaps` contract with a named two-field result, configurable empirical thresholds, segment-wide iterative PCHIP reconstruction, exact duration preservation, over-insertion fallback, and NaN-marked unresolved gaps.
|
|
31
|
+
- Added optional interactive `fillgaps` debugging that displays every reconstruction attempt and waits for explicit user inspection without changing normative results or affecting normal calls.
|
|
32
|
+
- Aligned the Python `removefp` and `fillgaps` examples with the identical Medicom MTD timing fixture and transformations used by Biosigmat.
|
|
33
|
+
- Added automatic shared-case coverage, Python-native API tests, public re-exports, API documentation, and dedicated executable examples for `removefp` and `fillgaps`.
|
|
34
|
+
- Pinned conformance to Biosiglib v1.2.1 at commit `050a0527741415d4099ed6e2d8ba873fc76cf577`.
|
|
35
|
+
|
|
36
|
+
## 0.1.0 - 2026-08-03
|
|
37
|
+
|
|
38
|
+
[GitHub release](https://github.com/BSICoS/biosigpy/releases/tag/v0.1.0)
|
|
39
|
+
|
|
40
|
+
- Published the first reproducible pre-1.0 Biosigpy release as a wheel and source distribution with SHA-256 checksums.
|
|
41
|
+
- Added one authoritative implementation-version source, installed package metadata, and `biosigpy.__version__`.
|
|
42
|
+
- Documented and tested Python 3.10–3.13, NumPy 1.26.4+, and SciPy 1.11.4+.
|
|
43
|
+
- Added the initial documentation scaffold.
|
|
44
|
+
- Documented the current Biosiglib v1.0.0 conformant algorithm set.
|
|
45
|
+
- Aligned `hrv.tdmetrics` with the Biosiglib minimum-data contract, returning `NaN` only for metrics that are undefined for the available valid intervals.
|
|
46
|
+
- Discovered and executed every shared case for each conformant specification, with a collection gate that detects unexecuted cases added by Biosiglib.
|
|
47
|
+
- Implemented the complete `ecg.sloperange` contract with a named, unpackable five-field result, signal-aligned slope vectors, zero-based extrema positions, boundary `NaN` values, earliest-sample tie handling, shared conformance cases, public API documentation, and an executable visual-inspection example.
|
|
48
|
+
- Reached conformance for all eight specifications published by Biosiglib v1.0.0.
|
|
49
|
+
- Pinned that contract to Biosiglib v1.0.0 at commit `ea2d5ded43e1348342f0db4fbd97d754b90a28c9`.
|