Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions changelog.d/plot-segments.rst

This file was deleted.

7 changes: 0 additions & 7 deletions changelog.d/segmented-selected-master.rst

This file was deleted.

12 changes: 0 additions & 12 deletions changelog.d/write-segments.rst

This file was deleted.

29 changes: 29 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
------------------------

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading