diff --git a/changelog.d/plot-segments.rst b/changelog.d/plot-segments.rst deleted file mode 100644 index 13af4183..00000000 --- a/changelog.d/plot-segments.rst +++ /dev/null @@ -1,4 +0,0 @@ -**Plot a segmented record in one figure** - ``SegmentedRecordData.plot()`` plots loaded segments on their master-record - timeline without rereading them. Segment boundaries are marked, ``~`` gaps - are shaded, and expanded channels use their own samples-per-frame positions. diff --git a/changelog.d/segmented-selected-master.rst b/changelog.d/segmented-selected-master.rst deleted file mode 100644 index 36e2980f..00000000 --- a/changelog.d/segmented-selected-master.rst +++ /dev/null @@ -1,7 +0,0 @@ -**Describe and edit the selected master view of segmented reads** - ``SegmentedRecordData.metadata`` now describes the selected master frames, - channels, start time, and loaded signal kind and layout separately from - ``source_header``. ``with_segment`` validates a replacement data segment, - and ``shift_time`` moves the selected master and stated segment times - together without changing source provenance. Segmented reads pickled by - 5.18.0 or 6.0.0 remain usable after loading. diff --git a/changelog.d/write-segments.rst b/changelog.d/write-segments.rst deleted file mode 100644 index a608f56d..00000000 --- a/changelog.d/write-segments.rst +++ /dev/null @@ -1,12 +0,0 @@ -**Write selected multi-segment records** - New ``write_segments`` and ``SegmentedRecordData.write`` write fixed- and - variable-layout records from loaded segments without a legacy - ``MultiRecord``. They preserve boundaries and ``~`` gaps, generate distinct - destination segment names, and stage files before replacing local output. - A real segment with no selected channels becomes a ``~`` gap of the same - length, so its original name and header are not included in the new record. - Segment and layout headers take their start times, including dates, from - the selected master. ``formats`` chooses a writable storage format for - every channel, or one per selected channel in master order. A fixed-layout - selection containing only gaps is rejected, because no data segment would - define its channels. diff --git a/docs/changes.rst b/docs/changes.rst index 972bd935..efdae30c 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -7,6 +7,35 @@ This page lists recent changes in the `wfdb` package (since version 4.0.0) that .. towncrier release notes start +Version 6.1.0 (Dec 2026) +------------------------ + +**Plot a segmented record in one figure** + ``SegmentedRecordData.plot()`` plots loaded segments on their master-record + timeline without rereading them. Segment boundaries are marked, ``~`` gaps + are shaded, and expanded channels use their own samples-per-frame positions. + +**Describe and edit the selected master view of segmented reads** + ``SegmentedRecordData.metadata`` now describes the selected master frames, + channels, start time, and loaded signal kind and layout separately from + ``source_header``. ``with_segment`` validates a replacement data segment, + and ``shift_time`` moves the selected master and stated segment times + together without changing source provenance. Segmented reads pickled by + 5.18.0 or 6.0.0 remain usable after loading. + +**Write selected multi-segment records** + New ``write_segments`` and ``SegmentedRecordData.write`` write fixed- and + variable-layout records from loaded segments without a legacy + ``MultiRecord``. They preserve boundaries and ``~`` gaps, generate distinct + destination segment names, and stage files before replacing local output. + A real segment with no selected channels becomes a ``~`` gap of the same + length, so its original name and header are not included in the new record. + Segment and layout headers take their start times, including dates, from + the selected master. ``formats`` chooses a writable storage format for + every channel, or one per selected channel in master order. A fixed-layout + selection containing only gaps is rejected, because no data segment would + define its channels. + Version 6.0.0 (Dec 2026) ------------------------ diff --git a/pyproject.toml b/pyproject.toml index 1e8ef8e9..b17b3116 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "uv_build" [project] name = "wfdb" -version = "6.0.0" +version = "6.1.0" description = "Read, write, plot, and process physiologic waveforms and annotations." authors = [{name = "The Laboratory for Computational Physiology", email = "contact@physionet.org"}] license = "MIT"