Repository navigation
wfdb 6.0.0
WFDB-Python 6.0.0 makes read_record the single modern reader for a combined record. It returns RecordData, with editable signal arrays, fixed metadata, and source provenance.
Migrating from 5.x
read_signals(path, layout=...)→read_record(path, layout=...).- Code that relied on
read_recordreturning a mutableRecordorMultiRecordshould userdrecordinstead. The legacy API remains available. - Use
read_segments(path, layout=...)to retain segment boundaries.read_recordalways combines segments; itscombine_segmentsargument has been removed. - The public
SignalReadaliases are removed. UseRecordData. The historical class path remains for loading old pickles. - Read values from
data.signals.valuesand metadata fromdata.metadata. See the 6.0 migration guide for field mappings and examples.
RecordData.plot(annotation=..., ...) plots a modern read directly. The existing plot_wfdb function also accepts RecordData; masked digital samples appear as gaps. The README has updated 6.0 examples.
Header reads now decode UTF-8 with a Latin-1 fallback and preserve comment spaces and # characters. Text from some existing headers may therefore differ from earlier releases. The header-text change is described in the changelog.
Install with pip install wfdb==6.0.0.