Repository navigation
Clarify multi-segment read coordinates and provenance - #833
Conversation
tompollard
left a comment
There was a problem hiding this comment.
Thanks. The table makes the three descriptors much easier to tell apart, and it settles the earlier question of whether they should converge: each describes a different coordinate system. The updated example runs as written with -W error::DeprecationWarning, combined source_segments omit the layout entry as stated, and segment_views on an rdheader result covers the full source (layout 0–0, gap 0–25740). Each decision listed in #746 now has a documented answer, so closing it makes sense. The offline suite, Ruff and the strict docs build pass locally.
Optional: the paragraph about inspecting channel names without loading samples points to read_multi_segment_headers. read_channel_header(path) is the single call that works for both record forms, so mentioning it there (with read_multi_segment_headers for when the master header is needed too) would point most readers to the simpler function.
Ready to merge once CI is green.
|
Thanks, that's a better entry point. I updated the multi-segment section in 88ed91a to recommend The strict docs build and Ruff checks pass. |
## Summary - Bump the package version to 5.14.0. - Collect the changelog entries from #832 and #833 into the release notes. This release adds remote `.wfdb` archive reading and clarifies multi-segment read coordinates and provenance. After merging, publish a GitHub release tagged `v5.14.0` to trigger the configured PyPI workflow. ## Verification - Strict Sphinx docs build: passed. - Source distribution and wheel build: passed. - Ruff lint and formatting: passed. - #832 and #833 CI checks: passed before merge.
Summary
SegmentReference,SegmentView, andSourceSegment, including layout headers, gaps, and data segments whose selected channels were not loaded.source_selectionrelates a selected view to its full source header, and which channel metadataread_multi_segment_headerscan provide without loading samples.read_recordand add regression tests for fixed and variable layouts.The existing APIs cover the cases in #746. This PR makes their contract explicit without changing return types or defaults.
Closes #746.
Verification