Skip to content

Parameter dislocation in wfdb.resample_multichan #110

Closed
@wfel

Description

@wfel

In the function wfdb.resample_multichan, an Annotation is created with

new_ann = Annotation(ann.recordname, ann.extension, new_sample, ann.symbol, ann.num, ann.subtype, ann.chan, ann.aux_note, ann.fs)

but ann.num should be the parameter after ann.chan
The correct one should be

new_ann = Annotation(recordname=ann.recordname,
                     extension=ann.extension,
                     sample=new_sample,
                     symbol=ann.symbol,
                     subtype=ann.subtype,
                     chan=ann.chan,
                     num=ann.num,
                     aux_note=ann.aux_note,
                     fs=ann.fs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions